[next][PATCH 0/5] radeon HDMI cleaning

Rafał Miłecki zajec5 at gmail.com
Sat Apr 28 14:35:19 PDT 2012

That's my patchset making use of gained knowledge and released regs
names. This is generally just cleaning currect stuff, changing offsets
to relative ones (so we can use official regs now).

This patch adds temp hack for Evergreen changing offset by 0x3d0. This
may look a little ugly, but it's safe and will be removed anyway. It's
here just to don't add regression in Evergreen support.

My plan is to make use of Alex's WIP patch and add new file/code for
DCE4 (Evergreen). That will allow us to correctly use Evergreen regs
and drop thet 0x3d0 trick.

Patchset tested on RV620 and HD6320 (so both: R6xx and Evergreen).

Rafał Miłecki (5):
  drm/radeon/kms: move audio params to separated struct
  drm/radeon/kms: get rid of hdmi_config_offset
  drm/radeon/kms: get rid of r600_hdmi_find_free_block
  drm/radeon/kms: keep HDMI state in separated variable
  drm/radeon/kms/hdmi: use relative offsets, official regs

 drivers/gpu/drm/radeon/evergreen_reg.h |    2 -
 drivers/gpu/drm/radeon/r600.c          |   28 +++---
 drivers/gpu/drm/radeon/r600_audio.c    |   34 ++++----
 drivers/gpu/drm/radeon/r600_hdmi.c     |  153 +++++++++++++-------------------
 drivers/gpu/drm/radeon/r600_reg.h      |   41 ---------
 drivers/gpu/drm/radeon/r600d.h         |    7 +-
 drivers/gpu/drm/radeon/radeon.h        |   19 ++--
 drivers/gpu/drm/radeon/radeon_mode.h   |    2 +-
 8 files changed, 109 insertions(+), 177 deletions(-)


More information about the dri-devel mailing list