linux/drivers/gpu
Noah Abradjian c1e3417558 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>
2020-01-16 14:13:53 -05:00
..
drm drm/amd/display: Indirect reg read macro with shift and mask 2020-01-16 14:13:53 -05:00
host1x drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
ipu-v3
vga vga: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile