drm/radeon: unify bpc handling
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Feb 2014 20:53:25 +0000 (15:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Feb 2014 18:41:00 +0000 (13:41 -0500)
commit7d5a33b071d19314c452ca5252ecd990eb0dd696
tree3da660abcc0aa4643297a89977dc6b9a368afb6b
parentc2288d4d3830946d91ae7aba599d34828d07f103
drm/radeon: unify bpc handling

We were already storing the bpc (bits per color) information
in radeon_crtc, so just use that everywhere rather than
calculating it everywhere we use it.  This also allows us
to change it in one place if we ever want to override it.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/atombios_encoders.c