From d092bf65851802593ed331ff5a6309b625f36bea Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Wed, 8 Feb 2017 15:58:50 -0500 Subject: [PATCH] drm/amd/display: Fix gfx9 parameters reading for DC. Signed-off-by: Andrey Grodzovsky Acked-by: Harry Wentland Reviewed-by: Jordan Lazare Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c index 7f2d17784a8e..8ae78c0653b6 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c @@ -535,6 +535,8 @@ static void fill_plane_attributes_from_fb( adev->gfx.config.gb_addr_config_fields.num_se; surface->tiling_info.gfx9.max_compressed_frags = adev->gfx.config.gb_addr_config_fields.max_compress_frags; + surface->tiling_info.gfx9.num_rb_per_se = + adev->gfx.config.gb_addr_config_fields.num_rb_per_se; surface->tiling_info.gfx9.swizzle = AMDGPU_TILING_GET(tiling_flags, SWIZZLE_MODE); surface->tiling_info.gfx9.shaderEnable = 1; -- 2.30.2