Re: [PATCH 3/3] drm/radeon: enable ABGR and XBGR formats

2018-08-01 Thread Alex Deucher
On Wed, Aug 1, 2018 at 4:25 AM, Mauro Rossi wrote: > Add support for DRM_FORMAT_{A,X}BGR in atombios_crtc > R6xx crossbar registers are defined and used based on ASIC_IS_DCE2 condition, > for DCE1/R5xx AVIVO_D1GRPH_SWAP_RB bit is used to swap red and blue channels. > > Signed-off-by: Mauro Ros

[PATCH 3/3] drm/radeon: enable ABGR and XBGR formats

2018-08-01 Thread Mauro Rossi
Add support for DRM_FORMAT_{A,X}BGR in atombios_crtc R6xx crossbar registers are defined and used based on ASIC_IS_DCE2 condition, for DCE1/R5xx AVIVO_D1GRPH_SWAP_RB bit is used to swap red and blue channels. Signed-off-by: Mauro Rossi --- drivers/gpu/drm/radeon/atombios_crtc.c | 25