Re: [PATCH] drm: Detect no-op drmModeAtomicRequest and return early

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

 



On 21 July 2015 at 13:50, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> If the number of items to process in the request is zero, we can forgo
> duplicating, sorting the request and feeding it into the kernel and
> instead report success immediately.  This prevents a NULL dereference of
> the sorted->items for the no-op request.
>
Why do you attempt a null/empty commit :P But seriously, nicely caught !

Reviewed-by: Emil Velikov <emil.l.velikov@xxxxxxxxx>

-Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux