<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h, branch v4.14</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.14</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.14'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2017-03-30T03:53:03Z</updated>
<entry>
<title>drm/amdgpu: implement read_sensor() for pre-powerplay chips</title>
<updated>2017-03-30T03:53:03Z</updated>
<author>
<name>Samuel Pitoiset</name>
<email>samuel.pitoiset@gmail.com</email>
</author>
<published>2017-02-14T00:00:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d6c29695e68ca911648dbe2294764dab6ef84fc7'/>
<id>urn:sha1:d6c29695e68ca911648dbe2294764dab6ef84fc7</id>
<content type='text'>
Add the GPU temperature, the shader clock and eventually the
memory clock (as well as the GPU load on CI). The main goal is
to expose this info to the userspace like Radeon.

v2: - add AMDGPU_PP_SENSOR_GPU_LOAD on CI
    - update the commit description

Signed-off-by: Samuel Pitoiset &lt;samuel.pitoiset@gmail.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/amdgpu: Update read_sensor calls to have size parameter (v3)</title>
<updated>2017-03-30T03:52:59Z</updated>
<author>
<name>Tom St Denis</name>
<email>tom.stdenis@amd.com</email>
</author>
<published>2017-02-09T19:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9f8df7d71e382c9afa808a08c11a990e90ac7df4'/>
<id>urn:sha1:9f8df7d71e382c9afa808a08c11a990e90ac7df4</id>
<content type='text'>
This update allows sensors to return more than 1 value and
indicates to the caller how many bytes are written.

The debugfs interface has been updated to handle reading all
of the values.  Simply seek to the enum value (multiplied
by 4) and then read as many bytes as the sensor provides.

(v2):  Don't set size to 4 before reading GPU_POWER
(v3): agd: rebase

Signed-off-by: Tom St Denis &lt;tom.stdenis@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/amdgpu: add power profile sysfs entry</title>
<updated>2017-03-30T03:52:48Z</updated>
<author>
<name>Eric Huang</name>
<email>JinHuiEric.Huang@amd.com</email>
</author>
<published>2016-09-12T20:17:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=34bb2734d1bc3c72e4739234481c0efab0941d14'/>
<id>urn:sha1:34bb2734d1bc3c72e4739234481c0efab0941d14</id>
<content type='text'>
Add the sysfs entries pp_gfx_power_profile and
pp_compute_power_profile which give user a way to set
power profile through parameters minimum sclk, minimum mclk,
activity threshold, up hysteresis and down hysteresis only
when the entry power_dpm_force_performance_level is in
default value "auto". It is read and write. Example:

echo 500 800 20 0 5 &gt; /sys/class/drm/card0/device/pp_*_power_profile

cat /sys/class/drm/card0/device/pp_*_power_profile
500 800 20 0 5

Note: first parameter is sclk in MHz, second is mclk in MHz,
third is activity threshold in percentage, fourth is up hysteresis
in ms and fifth is down hysteresis in ms.

echo set &gt; /sys/class/drm/card0/device/pp_*_power_profile
To set power profile state if it exists.

echo reset &gt; /sys/class/drm/card0/device/pp_*_power_profile
To restore default state and clear previous setting.

Signed-off-by: Eric Huang &lt;JinHuiEric.Huang@amd.com&gt;
Acked-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/powerplay: Unify dpm level defines</title>
<updated>2017-01-27T16:12:53Z</updated>
<author>
<name>Rex Zhu</name>
<email>Rex.Zhu@amd.com</email>
</author>
<published>2016-12-23T06:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e5d03ac2b8bd6d738c8e1ed6ea9a6a164ce86d3c'/>
<id>urn:sha1:e5d03ac2b8bd6d738c8e1ed6ea9a6a164ce86d3c</id>
<content type='text'>
Signed-off-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: use mask bit for deep sleep feature on dpm.</title>
<updated>2016-11-11T15:21:01Z</updated>
<author>
<name>Rex Zhu</name>
<email>Rex.Zhu@amd.com</email>
</author>
<published>2016-11-02T05:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=801caaf66309fdd084fc170dc1bea5140389747a'/>
<id>urn:sha1:801caaf66309fdd084fc170dc1bea5140389747a</id>
<content type='text'>
Signed-off-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/amdgpu: expose fan rpm though hwmon</title>
<updated>2016-11-11T15:20:56Z</updated>
<author>
<name>Grazvydas Ignotas</name>
<email>notasas@gmail.com</email>
</author>
<published>2016-10-29T20:28:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=81c1514bf8db9aee71bc6e610a62d64a865e06a4'/>
<id>urn:sha1:81c1514bf8db9aee71bc6e610a62d64a865e06a4</id>
<content type='text'>
Only for cards that are supported by powerplay.

Signed-off-by: Grazvydas Ignotas &lt;notasas@gmail.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: when suspend, set boot state instand of disable dpm.</title>
<updated>2016-10-27T19:18:19Z</updated>
<author>
<name>Rex Zhu</name>
<email>Rex.Zhu@amd.com</email>
</author>
<published>2016-10-03T12:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=86f8c599b09c916f9aad30563271440dbd79213a'/>
<id>urn:sha1:86f8c599b09c916f9aad30563271440dbd79213a</id>
<content type='text'>
fix pm-hibernate bug, when suspend/resume, dpm start failed.

Signed-off-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add new callback to check power state info</title>
<updated>2016-10-25T18:38:50Z</updated>
<author>
<name>Rex Zhu</name>
<email>Rex.Zhu@amd.com</email>
</author>
<published>2016-10-17T05:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fbebf2c6bc2ad746d1c124c35976868b2a41ac51'/>
<id>urn:sha1:fbebf2c6bc2ad746d1c124c35976868b2a41ac51</id>
<content type='text'>
Signed-off-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/dpm: add an implementation for get_vce_clock_state (v2)</title>
<updated>2016-10-25T18:38:41Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2016-10-07T16:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=825cc9974d15c0dee8e735c7abf975b576fadf6a'/>
<id>urn:sha1:825cc9974d15c0dee8e735c7abf975b576fadf6a</id>
<content type='text'>
Used by the non-powerplay dpm code.

v2: update to the new API

Reviewed-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/dpm: add new callback to fetch vce clock state (v2)</title>
<updated>2016-10-25T18:38:41Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2016-10-07T18:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=230cf1ba7274413659d3ff94be6862c26f7dd7a9'/>
<id>urn:sha1:230cf1ba7274413659d3ff94be6862c26f7dd7a9</id>
<content type='text'>
Will be used by the new info ioctl query.

v2: fetch a single state per request

Reviewed-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
