]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Change offset_to_id to reflect what id_to_offset returns
authorMurton Liu <murton.liu@amd.com>
Tue, 2 Jul 2019 15:32:19 +0000 (11:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:27:25 +0000 (14:27 -0500)
commitc9ef0ffdf6aaad6df99184974f30a469a087655d
treef1b1b6a5e450102882db5625b8ce497c4e09ac84
parent149f56fdf9ce18094d421e84ef4155c349ad0034
drm/amd/display: Change offset_to_id to reflect what id_to_offset returns

id_to_offset does not point to the same reg offset that offset_to_id checks for,
causing unintended asserts

Signed-off-by: Murton Liu <murton.liu@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_translate_dcn20.c
drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c