drm/radeon/kms: clean assigning HDMI blocks to encoders
authorRafał Miłecki <zajec5@gmail.com>
Mon, 8 Mar 2010 22:14:01 +0000 (22:14 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Mar 2010 00:03:57 +0000 (10:03 +1000)
commit2cd6218cb8043ef4360b561e726cd081f8a380cc
tree440158ba82c5f14c6dc528dbc76e1223cd286a1b
parent808032ee296ee7b37a6df090be40a330e09ae30e
drm/radeon/kms: clean assigning HDMI blocks to encoders

We almost always used first HDMI block for first encoder and second for sencod.
Exception was KLDSCP_LVTMA. Analyzing code picking DIG encoder shows the same
behaviour. It shows HDMI block are related to DIGs, which relation we now use.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_audio.c
drivers/gpu/drm/radeon/r600_hdmi.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_encoders.c