]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: use pixel formats instead of depth/bpp
authorFredrik Höglund <fredrik@kde.org>
Sat, 21 Sep 2013 15:15:36 +0000 (17:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jun 2014 16:22:16 +0000 (12:22 -0400)
commit4ec2ed0149202b4715cb4e223508f064c0484d00
treec513eea2bce640da972e1f74e006439c27eac41d
parent59068ad9975fcf753244af1b8c613c9a7e87e612
drm/radeon: use pixel formats instead of depth/bpp

This disambiguates depth 16 formats, such as ARGB1555 and ARGB4444,
and depth 32 formats such as ARGB2101010 and ARGB8888.

This patch also adds support for depth 30 (XRGB2101010) framebuffers.

Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Tested-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_crtc.c