Re: [PATCH] drm/i915: Do not WARN_ON with small framebuffers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Op 17-01-18 om 00:57 schreef Rodrigo Vivi:
> On Tue, Jan 16, 2018 at 03:53:31PM +0000, Maarten Lankhorst wrote:
>> It's perfectly legal to create a fb with stride < 512, and one of
>> the kms_plane_scaling subtests creates a very small fb.
>>
>> Downgrade the WARN_ON to a simple check check, and because this
>> function is potentially called on every atomic update/pageflip,
>> downgrade the other WARN_ON to a WARN_ON_ONCE, and do the right
>> thing here.
>>
>> Cc: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx>
>> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
>
Thanks, pushed. :)
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux