drm/doc: Add amdgpu hwmon/power documentation
Subsystems (4)
PATCH 1/2 drm/doc: Add amdgpu hwmon/power documentation
Document the hwmon and power control interfaces exposed by the amdgpu driver.
--- Documentation/gpu/amdgpu.rst | 52 ++++++++++++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 45 +++++++++++++++++++++++------ 2 files changed, 89 insertions(+), 8 deletions(-)
Documentation/gpu/amdgpu.rst +52 -0
@@ -18,3 +18,55 @@ PRIME Buffer Sharing .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c :internal: + +GPU Power/Thermal Controls and Monitoring +========================================= + +This chapter covers hwmon and power/thermal controls. + +HWMON Interfaces +---------------- + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c + :doc: hwmon + +GPU sysfs Power State Interfaces +-------------------------------- + +GPU power controls are exposed via sysfs files. + +power_dpm_state +~~~~~~~~~~~~~~~ + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c + :doc: power_dpm_state + +power_dpm_force_performance_level +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c + :doc: power_dpm_force_performance_level + +pp_table +~~~~~~~~ + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c + :doc: pp_table + +pp_od_clk_voltage +~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c + :doc: pp_od_clk_voltage + +pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c + :doc: pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie + +pp_power_profile_mode +~~~~~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c + :doc: pp_power_profile_mode
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +37 -8
106 lines not on this page · raw message
Signature · 6 lines
2.13.6 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180601180358.3462-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
PATCH 2/2 drm/doc: Make naming consistent for Core Driver Infrastructure
Use chapter rather than section to align with the rst markup.
--- Documentation/gpu/amdgpu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gpu/amdgpu.rst +1 -1
@@ -8,7 +8,7 @@ Next (GCN) architecture. Core Driver Infrastructure ========================== -This section covers core driver infrastructure. +This chapter covers core driver infrastructure. PRIME Buffer Sharing --------------------
Signature · 6 lines
2.13.6 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180601180358.3462-2-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Re: [PATCH 2/2] drm/doc: Make naming consistent for Core Driver Infrastructure
Adding dri-devel.
Quoted 12 lines · Alex Deucher
Use chapter rather than section to align with the rst markup.
Signed-off-by Alex Deucher <[email protected]>--- Documentation/gpu/amdgpu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/gpu/amdgpu.rst +0
-0
Documentation/gpu/amdgpu.rst Next (GCN) architecture. · line 14
Quoted 8 lines
Documentation/gpu/amdgpu.rst +1
-1@@ -8,7 +8,7 @@ Next (GCN) architecture. Core Driver Infrastructure ========================== -This section covers core driver infrastructure. +This chapter covers core driver infrastructure. PRIME Buffer Sharing --------------------
I don't mind either way, but I copied the "section" wording from i915.rst.
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): f3dcab41-b0ad-fb14-5268-b40821e51410-otUistvHUpPR7s880joybQ@public.gmane.org
Re: [PATCH 2/2] drm/doc: Make naming consistent for Core Driver Infrastructure
Quoted 3 lines · Michel Dänzer
Adding dri-devel.
Any opinions?
Alex
Quoted 26 lines · Alex Deucher
Quoted 12 lines
Use chapter rather than section to align with the rst markup.
Signed-off-by Alex Deucher <[email protected]>--- Documentation/gpu/amdgpu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/gpu/amdgpu.rst +0
-0Documentation/gpu/amdgpu.rst Next (GCN) architecture. · line 14
Quoted 8 lines
Documentation/gpu/amdgpu.rst +1
-1@@ -8,7 +8,7 @@ Next (GCN) architecture. Core Driver Infrastructure ========================== -This section covers core driver infrastructure. +This chapter covers core driver infrastructure. PRIME Buffer Sharing --------------------I don't mind either way, but I copied the "section" wording from
i915.rst.
Quoted 3 lines
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): CADnq5_OdOKzkYgH5+anMPdCUHDYAbRtJtyVKEk8zyccq40ah8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Re: [PATCH 2/2] drm/doc: Make naming consistent for Core Driver Infrastructure
Quoted 6 lines · Alex Deucher
Quoted 3 lines · Michel Dänzer
Adding dri-devel.
Any opinions?
100% meh, i.e. if you care, go with whatever, you have my ack. Anyone who cares about making docs more consistent makes me a happy camper :-)
Cheers, Daniel
Quoted 36 lines
Alex
Quoted 26 lines · Alex Deucher
Quoted 12 lines
Use chapter rather than section to align with the rst markup.
Signed-off-by Alex Deucher <[email protected]>--- Documentation/gpu/amdgpu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/gpu/amdgpu.rst +0
-0Documentation/gpu/amdgpu.rst Next (GCN) architecture. · line 14
Quoted 8 lines
Documentation/gpu/amdgpu.rst +1
-1@@ -8,7 +8,7 @@ Next (GCN) architecture. Core Driver Infrastructure ========================== -This section covers core driver infrastructure. +This chapter covers core driver infrastructure. PRIME Buffer Sharing --------------------I don't mind either way, but I copied the "section" wording from
i915.rst.Quoted 3 lines
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Michel Dänzer
Reviewed-byQuoted 14 lines · Alex Deucher
Document the hwmon and power control interfaces exposed by the amdgpu driver.
Signed-off-by Alex Deucher <[email protected]>--- Documentation/gpu/amdgpu.rst | 52 ++++++++++++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 45 +++++++++++++++++++++++------ 2 files changed, 89 insertions(+), 8 deletions(-)Documentation/gpu/amdgpu.rst +0
-0
Documentation/gpu/amdgpu.rst PRIME Buffer Sharing · line 25
Quoted 8 lines
Documentation/gpu/amdgpu.rst +5
-0@@ -18,3 +18,55 @@ PRIME Buffer Sharing .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c :internal: + +GPU Power/Thermal Controls and Monitoring +========================================= + +This chapter covers hwmon and power/thermal controls.
Apart from the chapter/section question raised by patch 2, this patch is
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx