summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_types.h
diff options
context:
space:
mode:
authorAurabindo Pillai <aurabindo.pillai@amd.com>2022-04-04 13:38:57 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-13 11:25:17 -0400
commit2a93292fb7860b51550d1222c151de1a9fdc15da (patch)
tree91183cb83ab919da54946a5f423a1d9abf5d04d6 /drivers/gpu/drm/amd/display/dc/dc_types.h
parente5028e9fd3bc7c6b916568e5218f5fca5f0d0a75 (diff)
downloadlinux-stable-2a93292fb7860b51550d1222c151de1a9fdc15da.tar.gz
linux-stable-2a93292fb7860b51550d1222c151de1a9fdc15da.tar.bz2
linux-stable-2a93292fb7860b51550d1222c151de1a9fdc15da.zip
drm/amd/display: Add NBIO reg offsets to DC
[Why&How] Add a field to store the NBIO IP offset for use with runtime offset calculation Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Solomon Chiu <solomon.chiu@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/dc_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index 077a93e81561..ad9041472cca 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -877,6 +877,7 @@ struct dc_context {
struct cp_psp cp_psp;
#endif
uint32_t *dcn_reg_offsets;
+ uint32_t *nbio_reg_offsets;
};
/* DSC DPCD capabilities */