[PATCH 00/22] new radeon info queries

Alex Deucher alexdeucher at gmail.com
Wed Oct 1 08:38:05 PDT 2014


This patch set implements a number of new
radeon info ioctl queries to support additional
profiling parameters for things like the GALLIUM
HUD.  It could also be used by apps like radeontop
to query the status registers, etc. without requiring
root privileges or needing asis specific knowledge
with respect to register BARs.

Alex Deucher (22):
  drm/radeon: add INFO query for GPU temperature
  drm/radeon/dpm: add new callbacks to get the current sclk/mclk
  drm/radeon/rs780: implement get_current_sclk/mclk
  drm/radeon/rv6xx: implement get_current_sclk/mclk
  drm/radeon/rv7xx/eg: implement get_current_sclk/mclk
  drm/radeon/btc: implement get_current_sclk/mclk
  drm/radeon: remove some rv7xx leftovers from btc dpm code
  drm/radeon/ni: implement get_current_sclk/mclk
  drm/radeon/si: implement get_current_sclk/mclk
  drm/radeon/ci: implement get_current_sclk/mclk
  drm/radeon/sumo: implement get_current_sclk/mclk
  drm/radeon/tn: implement get_current_sclk/mclk
  drm/radeon/kv: implement get_current_sclk/mclk
  drm/radeon: add INFO query for current sclk/mclk
  drm/radeon: add new callback for info ioctl register accessor
  drm/radeon: add get_allowed_info_register function for r1xx-r5xx
  drm/radeon: add get_allowed_info_register for r6xx/r7xx
  drm/radeon: add get_allowed_info_register for EG/BTC
  drm/radeon: add get_allowed_info_register for cayman/TN
  drm/radeon: add get_allowed_info_register for SI
  drm/radeon: add get_allowed_info_register for CIK
  drm/radeon: add support for read reg query from radeon info ioctl

 drivers/gpu/drm/radeon/btc_dpm.c     | 55 +++++++++++++++++++++++++++++++-----
 drivers/gpu/drm/radeon/ci_dpm.c      | 14 +++++++++
 drivers/gpu/drm/radeon/cik.c         | 33 ++++++++++++++++++++++
 drivers/gpu/drm/radeon/cikd.h        |  2 ++
 drivers/gpu/drm/radeon/evergreen.c   | 28 ++++++++++++++++++
 drivers/gpu/drm/radeon/evergreend.h  |  1 +
 drivers/gpu/drm/radeon/kv_dpm.c      | 23 +++++++++++++++
 drivers/gpu/drm/radeon/ni.c          | 29 +++++++++++++++++++
 drivers/gpu/drm/radeon/ni_dpm.c      | 36 +++++++++++++++++++++++
 drivers/gpu/drm/radeon/nid.h         |  1 +
 drivers/gpu/drm/radeon/r600.c        | 26 +++++++++++++++++
 drivers/gpu/drm/radeon/radeon.h      |  7 +++++
 drivers/gpu/drm/radeon/radeon_asic.c | 49 ++++++++++++++++++++++++++++++++
 drivers/gpu/drm/radeon/radeon_asic.h | 30 ++++++++++++++++++++
 drivers/gpu/drm/radeon/radeon_kms.c  | 29 +++++++++++++++++++
 drivers/gpu/drm/radeon/rs780_dpm.c   | 22 +++++++++++++++
 drivers/gpu/drm/radeon/rv6xx_dpm.c   | 46 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/radeon/rv770_dpm.c   | 44 +++++++++++++++++++++++++++++
 drivers/gpu/drm/radeon/si.c          | 30 ++++++++++++++++++++
 drivers/gpu/drm/radeon/si_dpm.c      | 36 +++++++++++++++++++++++
 drivers/gpu/drm/radeon/sid.h         |  1 +
 drivers/gpu/drm/radeon/sumo_dpm.c    | 28 ++++++++++++++++++
 drivers/gpu/drm/radeon/trinity_dpm.c | 25 ++++++++++++++++
 include/uapi/drm/radeon_drm.h        |  4 +++
 24 files changed, 592 insertions(+), 7 deletions(-)

-- 
1.8.3.1



More information about the dri-devel mailing list