Re: [PATCH] tests/kms_cursor_crc: HSW/BDW only have square cursors

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

 



2014-10-14 16:50 GMT-03:00 Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>:
> On Tue, Oct 14, 2014 at 02:05:42PM -0300, Paulo Zanoni wrote:
>> From: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx>
>>
>> When I look at BSpec, and at cursor_size_ok() (from the Kernel's
>> intel_display.c), I see that only 845g and i865g support non-square
>> displays, so SKIP the tests on HSW/BDW instead of failing them.
>
> Why don't we just use the information provided by the kernel as to what
> it supports?

(just documenting what we discussed on IRC yesterday)

Apparently, there's no way to check if IVB+ has support for
variable-size cursors with the current capability checks: the only way
would be to check the return code from the cursor IOCTLs...

> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre



-- 
Paulo Zanoni
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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