drm/amd/display: enable ABGR and XBGR formats (v4)
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 12 Aug 2018 19:43:01 +0000 (21:43 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:18 +0000 (11:10 -0500)
commitbcd47f60ab65c780eef44cc09c0e264453dd455e
treeb35ebe7476b2c7d37b08dbc8e1457eb9e427168a
parenta19c3bea8ebea8f4ee740c56a6796dbcef692474
drm/amd/display: enable ABGR and XBGR formats (v4)

SURFACE_PIXEL_FORMAT_GRPH_ABGR8888 is supported in amd/display/dc/dc_hw_types.h
and the necessary crossbars register controls to swap red and blue channels
are already implemented in drm/amd/display/dc/dce/dce_mem_input.c

(v4) Logic to handle new formats is added only in amdgpu_dm module.

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c