]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Display goes blank after inst
authorIgor Kravchenko <Igor.Kravchenko@amd.com>
Fri, 24 Jul 2020 15:10:40 +0000 (11:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:49:51 +0000 (16:49 -0400)
commit8b9736888904f426a1d03259bd113e0fa899816c
tree8793cd4d6bf84f2c6fc051cf6928db8e48e523e1
parent5f7e77085a302a662e4e55f416b7aa3a6aef9296
drm/amd/display: Display goes blank after inst

[why]
Display goes blank after driver installation.
Aux tuning parameters must be used for 2.x only.
Wrong dc_golden_table offset was used.

[How]
Implement a new enc3_hw_init function without VBIOS constants usage to
be called for 3.x
Calculate dc_golden_table offset using sum of
base dce_info offset and golden table offset

Signed-off-by: Igor Kravchenko <Igor.Kravchenko@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dio_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dio_link_encoder.h