]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0aaba541a1fa2d4d2b2caeee8fee6f9c46d97ee
treeb35ebe7476b2c7d37b08dbc8e1457eb9e427168a
parent5cb8b727c69c51e7590752ce3d1dc672b3edf5b1
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