drm/amd/display: lock/un-lock cursor if odm pipe split used
authorPaul Hsieh <paul.hsieh@amd.com>
Mon, 7 Feb 2022 03:45:24 +0000 (11:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:03:20 +0000 (14:03 -0500)
commite0adbe73d75e46e3665cf0fb30f2cfc00dd78c04
treebc68a0bda6e7381e4aa468b95e7fbcc710282546
parentf11d9373b61598f6a231dbcc74829c2f11dd567b
drm/amd/display: lock/un-lock cursor if odm pipe split used

[Why]
When system resume from sleep, the cursor lock will be reset
to default(lock status). And the cursor programming sequence
doesn't consider about odm pipe split cause cursor can't be
enabled.

[How]
If odm pipe split has been used, lock/un-lock on each pipes.

Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Paul Hsieh <paul.hsieh@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c