Skip to content
Commit 6bd74eba authored by Mika Kahola's avatar Mika Kahola
Browse files

tests/kms_getfb: Add support for GEN12 CCS render compression



GEN12 CCS render compression support is missing from the test.
This causes a SKIP when executing a subtest 'getfb-reject-ccs'.

For TGL the main surface is 4x4 tiles aligned. Therefore, the
pitch for 32bpp is 4*4*32 bytes and the height is 4 rows aligned.

The CCS surface is 64 bytes, which corresponds to 4 tiles on the
main surface. The height of the CCS surface is aligned by 4 rows.

v2: Fix incorrect size and updates on comments (Imre)

Signed-off-by: default avatarMika Kahola <mika.kahola@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
parent 65fed6a7
Loading
Loading
Loading
Pipeline #81777 passed with stages
in 8 minutes and 53 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment