drm/amd/display: fix macro_tile_size for tiling
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 22 Apr 2019 19:38:09 +0000 (15:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:12 +0000 (09:34 -0500)
commitb964e79064269b0d4274bda92439b11ff1f2865c
treeca5c7a9fdc3cc6330dcdc7ca3be23f3797e66504
parent97ae9b967517ad5aac265a9966d8ebfc9ee450d2
drm/amd/display: fix macro_tile_size for tiling

A regression was introduced when we set correct tile size
for the gfx9 swizzle mode. This resulted in incorrect
macro tile size.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c