diff options
author | Tony Cheng <tony.cheng@amd.com> | 2018-10-24 15:09:46 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-14 15:38:40 -0500 |
commit | 44788bbc309ba687ac239a77a2399d879c6d5f18 (patch) | |
tree | e1ea1eb43de8c4b25e285fb6fa38fcd75a998123 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c | |
parent | 29c8f23425e07092f25db3b57c1d8dcefc532290 (diff) | |
download | linux-44788bbc309ba687ac239a77a2399d879c6d5f18.tar.gz linux-44788bbc309ba687ac239a77a2399d879c6d5f18.tar.bz2 linux-44788bbc309ba687ac239a77a2399d879c6d5f18.zip |
drm/amd/display: refactor reg_update
[why]
separate register access from logic to allow us abstract register sequences
[how]
consolidate mask and value first then apply to register.
Signed-off-by: Tony Cheng <tony.cheng@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions