All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/amdgpu: expose temp and shader/memory clocks
@ 2017-02-13 22:01 Samuel Pitoiset
       [not found] ` <20170213220132.1033-1-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 18+ messages in thread
From: Samuel Pitoiset @ 2017-02-13 22:01 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Samuel Pitoiset

Hi,

This series exposes the current GPU temperature and the current shader
clock (and eventually the memory clock for non-APUs boards). This adds
the same functionality as the Radeon driver. The main goal is to expose
the info through the GALLIUM_HUD in Mesa.

Alex Deucher suggested to wire-up the read_sensor() interface for
pre-powerplay chips. The rest of the series is quite simple.

This has only been tested on Polaris (RX480).

Please review!
Thanks.

Samuel Pitoiset (2):
  drm/amdgpu: implement read_sensor() for pre-powerplay chips
  drm/amdgpu: expose the current temperature and shader/memory clocks

 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h |  4 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |  3 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 27 ++++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c     | 26 +++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/kv_dpm.c     | 34 +++++++++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/si_dpm.c     | 41 +++++++++++++++++++++++++++++++++
 include/uapi/drm/amdgpu_drm.h           |  8 ++++++-
 7 files changed, 140 insertions(+), 3 deletions(-)

-- 
2.11.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-02-15 21:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13 22:01 [PATCH 0/2] drm/amdgpu: expose temp and shader/memory clocks Samuel Pitoiset
     [not found] ` <20170213220132.1033-1-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-13 22:01   ` [PATCH 1/2] drm/amdgpu: implement read_sensor() for pre-powerplay chips Samuel Pitoiset
     [not found]     ` <20170213220132.1033-2-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-13 22:13       ` Deucher, Alexander
     [not found]         ` <BN6PR12MB1652044A168BA6F29943A2C3F7590-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-02-13 22:40           ` Tom St Denis
2017-02-13 23:17       ` Tom St Denis
     [not found]         ` <f07176a7-6bfe-e98e-7f80-d8f2668d3045-5C7GfCeVMHo@public.gmane.org>
2017-02-13 23:40           ` Samuel Pitoiset
     [not found]             ` <924552e4-ed96-af5f-82e9-b1e78b265282-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-13 23:46               ` Tom St Denis
     [not found]                 ` <3ad85db6-0ba2-77c9-6d94-a875efffdabb-5C7GfCeVMHo@public.gmane.org>
2017-02-14  0:13                   ` Samuel Pitoiset
2017-02-13 22:01   ` [PATCH 2/2] drm/amdgpu: expose the current temperature and shader/memory clocks Samuel Pitoiset
     [not found]     ` <20170213220132.1033-3-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-13 22:20       ` Deucher, Alexander
     [not found]         ` <BN6PR12MB1652B624BD6BA79E9A7F54F1F7590-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-02-13 22:23           ` Samuel Pitoiset
2017-02-14  0:00   ` [PATCH v2 1/2] drm/amdgpu: implement read_sensor() for pre-powerplay chips Samuel Pitoiset
2017-02-14  0:01   ` [PATCH v2 2/2] drm/amdgpu: expose the current temperature and shader/memory clocks Samuel Pitoiset
     [not found]     ` <20170214000126.29947-1-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-14 15:11       ` Samuel Pitoiset
2017-02-14 16:31       ` Deucher, Alexander
2017-02-15 19:15   ` [PATCH v3 2/2] drm/amdgpu: expose GPU sensor related information Samuel Pitoiset
     [not found]     ` <20170215191546.27637-1-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-15 19:18       ` Samuel Pitoiset
2017-02-15 21:57   ` [PATCH v4 " Samuel Pitoiset

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.