]> www.infradead.org Git - users/hch/misc.git/commit
drm/amd/display: workaround for oled eDP not lighting up on DCN401
authorJoshua Aberback <joshua.aberback@amd.com>
Mon, 13 May 2024 22:14:59 +0000 (18:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:05:33 +0000 (11:05 -0400)
commite902dd7f3e3b93a401e1d3c0322cce933e75e809
tree8536efd54ad192b537538de798b5cc232adb9931
parent1349db1581545a9e7253f74ccd9eabbcdf99b294
drm/amd/display: workaround for oled eDP not lighting up on DCN401

[Why]
Currently there's an issue on DCN401 that prevents oled eDP panels from
being lit up that is still under investigation. To unblock dev work
while investigating, we can work around the issue by skipping toggling
the enablement of the backlight.

[How]
 - new debug bit that will skip touching backlight enable DPCD for oled

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Joshua Aberback <joshua.aberback@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/dc.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c