drm/radeon/atom: add consolidate bpc code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Aug 2012 14:31:34 +0000 (10:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2012 17:10:38 +0000 (13:10 -0400)
commit1f0e29435386e42c942ee8385d10dbfc814f5cfe
treedaf1dd775247307bef30621a63757f83ec944312
parent37e9b6a62fb775276f8edb5bd2b9f13a3102b9dd
drm/radeon/atom: add consolidate bpc code

Several encoder setup functions had the same duplicated
code for selecting the proper bpc setting for various
atom tables.  Consolidate it.

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