aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
diff options
context:
space:
mode:
authorNevenko Stupar <Nevenko.Stupar@amd.com>2018-11-08 19:20:11 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-11-30 12:02:42 -0500
commit1cc9f371fa3e37ec45ac60c2e334cb2373913dad (patch)
treef7ae01efd648d033673098562d4c077f2681e04c /drivers/gpu/drm/amd/display/dc/dc_hw_types.h
parentdrm/amd/display: fbc state could not reach while enable fbc (diff)
downloadlinux-dev-1cc9f371fa3e37ec45ac60c2e334cb2373913dad.tar.xz
linux-dev-1cc9f371fa3e37ec45ac60c2e334cb2373913dad.zip
drm/amd/display: Re-arrange GFX9 fields
For more clear usage in future Signed-off-by: Nevenko Stupar <Nevenko.Stupar@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_hw_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_hw_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
index 7825e4b5e97c..9ddfe4c6938b 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
@@ -358,15 +358,16 @@ union dc_tiling_info {
} gfx8;
struct {
+ enum swizzle_mode_values swizzle;
unsigned int num_pipes;
- unsigned int num_banks;
+ unsigned int max_compressed_frags;
unsigned int pipe_interleave;
+
+ unsigned int num_banks;
unsigned int num_shader_engines;
unsigned int num_rb_per_se;
- unsigned int max_compressed_frags;
bool shaderEnable;
- enum swizzle_mode_values swizzle;
bool meta_linear;
bool rb_aligned;
bool pipe_aligned;