diff options
author | 2022-07-07 11:33:36 -0400 | |
---|---|---|
committer | 2022-08-25 13:34:40 -0400 | |
commit | 99c957fedfc6678ded0b53afdcb832cd8446cec8 (patch) | |
tree | 24d58bd0cd98ac37884d1135374cc09c26ddf894 /drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | |
parent | drm/amd/display: change to runtime initialization for reg offsets for DCN32 (diff) | |
download | linux-rng-99c957fedfc6678ded0b53afdcb832cd8446cec8.tar.xz linux-rng-99c957fedfc6678ded0b53afdcb832cd8446cec8.zip |
drm/amd/display: change to runtime initialization for reg offsets for DCN321
DC was using compile time initialization of register addresses using
SR_* macros and their variants. These have been converted to use runtime
initialization.
The REG_STRUCT macro is a definition that is added to SR_* macros.
During initialization, this must be defined before SR_* macros are
invoked, which are in turn invoked through various IP initialization macros.
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h')
0 files changed, 0 insertions, 0 deletions