mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
drm/amd/display: Fix gfx9 parameters reading for DC.
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
53d35dc60d
commit
d092bf6585
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue