Re: [PATCH] drm: Pretty print out the reason for rejecting the mode

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

 



On Tue, Apr 5, 2011 at 5:41 PM, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> On Tue, 5 Apr 2011 23:39:19 +0200, Julien Cristau <jcristau@xxxxxxxxxx> wrote:
>> On Tue, Apr  5, 2011 at 21:50:15 +0100, Chris Wilson wrote:
>>
>> > +   if ((unsigned)status > ARRAY_SIZE(strings))
>>
>> off by one?
>
> And didn't check for holes.
>
> /me wishes he never sent this momentarily useful bit of code. ;-)

I think it's still useful if we can get it fixed up.  I've recently
run into some cases on radeon where this would be helpful.

Alex

> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
_______________________________________________
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