diff options
author | Noah Abradjian <[email protected]> | 2019-12-17 15:49:14 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-01-16 14:13:53 -0500 |
commit | c1e3417558beda21fd41ed870ca16b36a69188d5 (patch) | |
tree | 5172d8d42dcbff9cb2e2da91f28644aa6f3625e9 /tools/perf/util/c++/clang-test.cpp | |
parent | ec256f449c07b2498f624ec7b9ca41177c989d7c (diff) |
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 <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions