[igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Test 32x32 cursors

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Mar 18 12:39:19 UTC 2021


On Thu, Mar 18, 2021 at 08:39:01AM +0200, Martin Peres wrote:
> On 18/03/2021 00:45, Lyude wrote:
> > From: Lyude Paul <lyude at redhat.com>
> > 
> > Since pre-nve4 only has two cursor sizes (32x32 and 64x64), we should at
> > least test both of them.
> 
> This adds 36 subtests, which take about 1s in average. So the runtime is 
> not significantly increased on the Intel side.
> 
> It also seems that Intel should add skips or fix the kernel to support 
> these 32xXX format.

Intel hw at least does not support 32x32 cursors. We should
probably just just probe the kernel to see if it accepts the
requested cursor size, and skip the subtest if not. That
would also let us remove the i915 platform specific information
from has_nonsquare_cursors().

-- 
Ville Syrjälä
Intel


More information about the igt-dev mailing list