]> Git Repo - linux.git/commit
drm/amd/display: Reject non-zero src_y and src_x for video planes
authorHarry Wentland <[email protected]>
Thu, 22 Apr 2021 23:10:52 +0000 (19:10 -0400)
committerAlex Deucher <[email protected]>
Thu, 29 Apr 2021 03:45:22 +0000 (23:45 -0400)
commitd89f6048bdcb6a56abb396c584747d5eeae650db
treed0bef760ece7c62a278917f48bd54be5edf2f550
parenta1a1ca70deb3ec600eeabb21de7f3f48aaae5695
drm/amd/display: Reject non-zero src_y and src_x for video planes

[Why]
This hasn't been well tested and leads to complete system hangs on DCN1
based systems, possibly others.

The system hang can be reproduced by gesturing the video on the YouTube
Android app on ChromeOS into full screen.

[How]
Reject atomic commits with non-zero drm_plane_state.src_x or src_y values.

v2:
 - Add code comment describing the reason we're rejecting non-zero
   src_x and src_y
 - Drop gerrit Change-Id
 - Add stable CC
 - Based on amd-staging-drm-next

v3: removed trailing whitespace

Signed-off-by: Harry Wentland <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Hersen Wu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
This page took 0.053866 seconds and 4 git commands to generate.