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)
commit8bae42769da2346f7b3c783980f038826e09e84c
treec513eea2bce640da972e1f74e006439c27eac41d
parentbc1dfff04a5d4064ba0db1fab13f84ab4f333d2b
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