• Juha-Pekka Heikkilä's avatar
    tests/kms_rotation_crc: Add multi plane tests · 14c1b132
    Juha-Pekka Heikkilä authored
    Add three new tests which try primary and sprite planes
    next to each other with different plane formats, rotations
    and tiling modes.
    
    multiplane-rotation subtest run test through with both planes
    fully visible.
    
    multiplane-rotation-cropping-top will crop primary plane to
    left/top corner and sprite plane to right/top corner while running
    rotation tests.
    
    multiplane-rotation-cropping-bottom will crop primary plane to
    left/bottom corner and sprite plane to right/bottom corner while
    running rotation tests.
    
    v2 (Nautiyal, Ankit K): Use rectangular figures instead of
    square figures and fix associated code to perform correctly.
    Adjust plane positions according to screen size to avoid
    putting planes outside screen.
    
    v3 (Nautiyal, Ankit K): Minor detail fix.
    Signed-off-by: Juha-Pekka Heikkilä's avatarJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
    Reviewed-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
    14c1b132
kms_rotation_crc.c 23.8 KB