linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amdgpu/display: set gpu vm flag for renoir 2020-01-14 10:18:10 -05:00
dc drm/amd/display: Indirect reg read macro with shift and mask 2020-01-16 14:13:53 -05:00
dmub drm/amd/display: DMCUB FW Changes to support PSR 2020-01-16 14:13:46 -05:00
include drm/amd/display: add Pollock IDs, fix Pollock & Dali clk mgr construct 2020-01-14 10:18:10 -05:00
modules drm/amd/display: Fix 300Hz Freesync bug 2020-01-16 13:41:33 -05:00
Kconfig amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00
Makefile
TODO