diff options
author | Yongqiang Sun <[email protected]> | 2019-02-13 10:35:43 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-03-19 15:36:49 -0500 |
commit | 148cccf267531ca5165ae3a637e48948e6c26697 (patch) | |
tree | 880c04308d8f2ce9d033a64b5d44a0a7849340de /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 929c3aaa26ef69abdb5e5ec7af5eacd6f6687836 (diff) |
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 <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions