[igt-dev] [RFC PATCH i-g-t v2 0/2] tests/kms_ccs: CCS Clear Color test
Mika Kahola
mika.kahola at intel.com
Thu Jun 11 12:30:59 UTC 2020
This is a RFC patch that proposes to test CCS clear color
capability. This is actually a third edition of the clear color
tests. The first two required tweaking and all received comments
have been helpful. Therefore, any comments/proposals to improve
the test are warmly welcomed
The test paints a solid color on primary fb and a small sprite fb.
These are cleared with fast clear feature. A crc is captured and
compared against the reference.
Logically it may be an odd plae to define color clear function in
intel_batchbuffer.c but I decided to do so as we have rendercopy and
veboxcopy functions defined there as well.
v2: Modify _gen9_render_copyfunc to support fast clear (Matt)
Enable fast clear bit on 3D sequence (Matt)
Add helper function to figure out clear color modifier (Matt)
Mika Kahola (2):
tests/kms_ccs: Add debug information on format modifier
tests/kms_ccs: CCS Clear Color test
lib/gen8_render.h | 1 +
lib/intel_batchbuffer.c | 10 +++++
lib/intel_batchbuffer.h | 6 +++
lib/rendercopy.h | 5 +++
lib/rendercopy_gen9.c | 56 ++++++++++++++++++++-----
tests/kms_ccs.c | 91 ++++++++++++++++++++++++++++++++++-------
6 files changed, 145 insertions(+), 24 deletions(-)
--
2.20.1
More information about the igt-dev
mailing list