summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorNoah Abradjian <noah.abradjian@amd.com>2019-12-17 15:49:14 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-01-16 14:13:53 -0500
commitc1e3417558beda21fd41ed870ca16b36a69188d5 (patch)
tree5172d8d42dcbff9cb2e2da91f28644aa6f3625e9 /drivers/atm
parentec256f449c07b2498f624ec7b9ca41177c989d7c (diff)
downloadlinux-c1e3417558beda21fd41ed870ca16b36a69188d5.tar.bz2
drm/amd/display: Indirect reg read macro with shift and mask
[Why] Recent double buffering changes for dcn2 use IX_REG_READ. However, this macro returns the full register value, with the need to manually shift and mask it to retrieve field data. [How] Create new IX_REG_GET macro that handles shift and mask. Use this for double buffering reads instead of IX_REG_READ. Signed-off-by: Noah Abradjian <noah.abradjian@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions