OSDN Git Service

drm/amd/display: reject both non-zero src_x and src_y only for DCN1x
authorShirish S <shirish.s@amd.com>
Mon, 8 Nov 2021 07:38:26 +0000 (13:08 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Nov 2021 16:59:34 +0000 (11:59 -0500)
commit4375d6255d053472005d7003a74dbe6c70517a77
treefc3b3ba98d144236c6f7eaa42055b99f054f47f7
parentc40a09e56fa3d17a3d06cec9a24b04364bb18c8f
drm/amd/display: reject both non-zero src_x and src_y only for DCN1x

[Why]
Video plane gets rejected for non-zero src_y and src_x on DCN2.x.

[How]
Limit the rejection till DCN1.x and verified MPO, by dragging video
playback beyond display's left (0, 0) co-ordinates.

Fixes: d89f6048bdcb ("drm/amd/display: Reject non-zero src_y and src_x for video planes")
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c