drm/radeon/kms: improve bpc handling (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Mar 2012 19:12:54 +0000 (15:12 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Apr 2012 08:50:12 +0000 (09:50 +0100)
commiteccea7920cfb009c2fa40e9ecdce8c36f61cab66
tree70a7a63caaa8f8c8373c40cd2ac0641750ba2a56
parent9923777dff4543050fdf938cf6b19f6d4376b7c5
drm/radeon/kms: improve bpc handling (v2)

Improve handling of bpc (bits per color) in radeon.
In most cases we want 8 except for HDMI, DP, LVDS, and eDP.

v2: handle DP better.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/atombios_encoders.c
drivers/gpu/drm/radeon/radeon_connectors.c
drivers/gpu/drm/radeon/radeon_mode.h