linux/drivers/gpu/drm/amd
Yongqiang Sun 148cccf267 drm/amd/display: Refactor reg_set and reg_update.
[Why]
Current reg update and reg set use same functions and
only delta is update reads reg value and call update function.

[How]
Refactor reg update and reg set functions.
1.Implement different functions for reg update and reg set.
2.Wrap same process to a help function, both reg update and
reg set will call it.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-19 15:36:49 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amd/powerplay: apply Vega20 BACO workaround 2019-03-19 15:36:49 -05:00
amdkfd drm/amdkfd: avoid HMM change cause circular lock 2019-03-19 15:03:37 -05:00
display drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -05:00
include drm/amd/amdgpu: Add ENGINE_CNTL register to vcn10 headers 2019-03-19 15:36:48 -05:00
lib
powerplay drm/amd/powerplay: apply Vega20 BACO workaround 2019-03-19 15:36:49 -05:00