diff options
author | Mauro Rossi <issor.oruam@gmail.com> | 2018-08-12 21:43:03 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-08-27 11:10:19 -0500 |
commit | a69e40fd824ddae4f515ca8e754882bebf644ed4 (patch) | |
tree | 32b9b6c846280d4ce4ec91ddac74343cd078d6a3 /drivers/gpu/drm/amd/include | |
parent | 00ecc6e6d4eeba9681ec91f9601a9ed1a68a9e7f (diff) |
drm/radeon: enable ABGR and XBGR formats (v2)
Add support for DRM_FORMAT_{A,X}BGR8888 in atombios_crtc
Swapping of red and blue channels is implemented for radeon chipsets:
DCE2/R6xx and later - crossbar registers defined where needed and used
DCE1/R5xx - AVIVO_D1GRPH_SWAP_RB bit is used
(v2) Set AVIVO_D1GRPH_SWAP_RB bit in fb_format, using bitwise OR for DCE1 path
Use bitwise OR where required for big endian settings in fb_swap
Use existing code style CHIP_R600 condition, fix typo in R600 blue crossbar
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
0 files changed, 0 insertions, 0 deletions