]> asedeno.scripts.mit.edu Git - linux.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)
commit54eef8a411699779fdbb1a2cd333f1b914bd5699
treef1b1b6a5e450102882db5625b8ce497c4e09ac84
parent925f566cb7aedbcf26005035cf894ec824e8ca2f
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