Skip to content
  • Nicholas Kazlauskas's avatar
    tests: Add kms_plane_cursor tests · ff28c28c
    Nicholas Kazlauskas authored
    
    
    Tests various cursor plane interactions with primary and overlay planes.
    
    Correctness is verified by comparing CRC values to reference buffers
    drawn on the primary plane.
    
    There are existing generic multi-plane interaction tests but these
    don't test positional output on overlapping planes or extensively
    cover edge and corner cases for offseting and positioning planes based
    on DRM parameters.
    
    On hardware without dedicated cursor planes (such as AMDGPU) these tests
    are helpful for verifying software calculations done for positioning the
    cursor plane.
    
    Cc: Leo Li <sunpeng.li@amd.com>
    Cc: Harry Wentland <harry.wentland@amd.com>
    Signed-off-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
    Reviewed-by: default avatarLeo Li <sunpeng.li@amd.com>
    ff28c28c