]> 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)
commit37627c534879a18e7f351a4b0909286de6bfb024
treec513eea2bce640da972e1f74e006439c27eac41d
parentdf9fe5769ea30369b6ff4fe794424a1afa883d28
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