drm/amd/display: Add interface to modify DMUB panel power options
authorPaul Hsieh <paul.hsieh@amd.com>
Tue, 11 Jul 2023 08:07:52 +0000 (16:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:41:27 +0000 (13:41 -0400)
commitb9f501c50e517d2cfb2a6d4023ab73e9a00e1bb9
treea77517d1be91cfcbc62bd4b21b8e5b54a737755d
parente721611b321adb40c3df85cd6b2ccb4a3df13ad3
drm/amd/display: Add interface to modify DMUB panel power options

[Why]
This option can vary depending on the panel and may be required to be
called during sink detection phase before transmitter control.

[How]
Allow modify the bit depending on the eDP panel connected with a new
interface.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alex Hung <alex.hung@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/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c