[Intel-gfx] [PATCH] tests/kms_cursor_crc: HSW/BDW only have square cursors

Paulo Zanoni przanoni at gmail.com
Wed Oct 15 19:17:26 CEST 2014


2014-10-14 16:50 GMT-03:00 Chris Wilson <chris at chris-wilson.co.uk>:
> On Tue, Oct 14, 2014 at 02:05:42PM -0300, Paulo Zanoni wrote:
>> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
>>
>> 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



More information about the Intel-gfx mailing list