drm/amd/display: Populate macro_tile_size field for dml
authorJoshua Aberback <joshua.aberback@amd.com>
Mon, 18 Mar 2019 17:40:47 +0000 (13:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:42:57 +0000 (22:42 -0500)
commit0cbba1638b8ef1272ea9ef9b4b95274596214443
treedacebf27def80451877c70a80e6db3bf3bbc6012
parent248cbed60db05f39913707c1ad74999730487fd6
drm/amd/display: Populate macro_tile_size field for dml

Create a functions to return swizzle types for dml

Signed-off-by: Joshua Aberback <joshua.aberback@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/calcs/dcn_calcs.c
drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h