[PATCH 00/22] new radeon info queries

Marek Olšák maraeo at gmail.com
Tue Feb 24 14:09:56 PST 2015


Tested-by: Marek Olšák <marek.olsak at amd.com>

Tested with: RV670, RV730, Redwood, Cayman, Cape Verde, Bonaire, Hawaii.

I have Mesa patches for the temperature, clocks, and GPU load. All
exposed via the Gallium HUD.

Marek

On Wed, Oct 1, 2014 at 5:38 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
> 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
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list