[Intel-gfx] [PATCH i-g-t] tests/kms_mmap_write_crc: Add drmModeDirtyFB after dirtying fb

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 10 14:31:33 UTC 2017


Quoting Maarten Lankhorst (2017-08-10 13:41:56)
> The test shows the need for coherency through the dma-buf sync ioctl's,
> but forgets to call dirtyfb, without this the FB Is never updated and we
> will fail anyway.
> 
> Solve this by adding a drmModeDirtyFB, I've confirmed by adding -n
> that the test will still faill without prime_sync_end anyway,
> so the test is still useful.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Marta Löfstedt <marta.lofstedt at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101109

Tested-by: Chris Wilson <chris at chris-wilson.co.uk> #llc

Have a patch for the failure in the first check, yet more object
coherency mess.
-Chris


More information about the Intel-gfx mailing list