<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/display/modules/freesync/freesync.c, branch v4.15</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.15</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.15'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2017-09-28T20:46:15Z</updated>
<entry>
<title>drm/amd/display: Use kernel alloc/free</title>
<updated>2017-09-28T20:46:15Z</updated>
<author>
<name>Harry Wentland</name>
<email>harry.wentland@amd.com</email>
</author>
<published>2017-09-27T14:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2004f45ef83f07f43f5da6ede780b08068c7583d'/>
<id>urn:sha1:2004f45ef83f07f43f5da6ede780b08068c7583d</id>
<content type='text'>
Abstractions are frowned upon.

cocci script:
virtual context
virtual patch
virtual org
virtual report

@@
expression ptr;
@@

- dm_alloc(ptr)
+ kzalloc(ptr, GFP_KERNEL)

@@
expression ptr, size;
@@

- dm_realloc(ptr, size)
+ krealloc(ptr, size, GFP_KERNEL)

@@
expression ptr;
@@

- dm_free(ptr)
+ kfree(ptr)

v2: use GFP_KERNEL, not GFP_ATOMIC. add cocci script

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Clean up flattening core_dc to dc</title>
<updated>2017-09-26T22:17:07Z</updated>
<author>
<name>Bhawanpreet Lakha</name>
<email>Bhawanpreet.Lakha@amd.com</email>
</author>
<published>2017-08-23T19:44:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=156590454259a19d1709fab2ff7d59870574e822'/>
<id>urn:sha1:156590454259a19d1709fab2ff7d59870574e822</id>
<content type='text'>
Clean up some code related to flattening core_dc commit
(Remove redundent dc = dc, which was the result of removing
DC_TO_CORE() macro)

Signed-off-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Flattening core_dc to dc</title>
<updated>2017-09-26T22:16:40Z</updated>
<author>
<name>Bhawanpreet Lakha</name>
<email>Bhawanpreet.Lakha@amd.com</email>
</author>
<published>2017-08-01T19:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb3466a450cc4684654367ae2f47fc3fc7846574'/>
<id>urn:sha1:fb3466a450cc4684654367ae2f47fc3fc7846574</id>
<content type='text'>
-Flattening core_dc to dc

Signed-off-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Rename dc_stream to dc_stream_state</title>
<updated>2017-09-26T22:16:04Z</updated>
<author>
<name>Harry Wentland</name>
<email>harry.wentland@amd.com</email>
</author>
<published>2017-07-27T13:33:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0971c40e180696c3512b9a63ca7ca5161cbfce32'/>
<id>urn:sha1:0971c40e180696c3512b9a63ca7ca5161cbfce32</id>
<content type='text'>
find -name Makefile -o -name Kconfig -o -name "*.c" -o -name "*.h" \
-o -name "*.cpp" -o -name "*.hpp" | \
xargs sed -i 's/struct dc_stream/struct dc_stream_state/g'

find -name Makefile -o -name Kconfig -o -name "*.c" -o -name "*.h" \
-o -name "*.cpp" -o -name "*.hpp" | \
xargs sed -i 's/struct dc_stream_state_update/struct dc_stream_update/g'

find -name Makefile -o -name Kconfig -o -name "*.c" -o -name "*.h" \
-o -name "*.cpp" -o -name "*.hpp" | \
xargs sed -i 's/struct dc_stream_state_status/struct dc_stream_status/g'

Plus some manual changes

Signed-off-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Roll core_stream into dc_stream</title>
<updated>2017-09-26T22:15:46Z</updated>
<author>
<name>Leo (Sunpeng) Li</name>
<email>sunpeng.li@amd.com</email>
</author>
<published>2017-07-26T00:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4fa086b9b6640818c053c79d4d7104790ba76cb7'/>
<id>urn:sha1:4fa086b9b6640818c053c79d4d7104790ba76cb7</id>
<content type='text'>
Signed-off-by: Leo (Sunpeng) Li &lt;sunpeng.li@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Add regkey for DRR control for internal panel</title>
<updated>2017-09-26T22:15:16Z</updated>
<author>
<name>Anthony Koo</name>
<email>Anthony.Koo@amd.com</email>
</author>
<published>2017-07-18T14:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2233ec72b350fb8480f67b83f6a71ea422af60a3'/>
<id>urn:sha1:2233ec72b350fb8480f67b83f6a71ea422af60a3</id>
<content type='text'>
Also need to change default to off

Signed-off-by: Anthony Koo &lt;anthony.koo@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Re-enable Vsync Interrupts for Gradual Refresh Ramp</title>
<updated>2017-09-26T22:08:27Z</updated>
<author>
<name>Amy Zhang</name>
<email>Amy.Zhang@amd.com</email>
</author>
<published>2017-06-28T22:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1a87fbfee0a0f96e8b482c2ac7eae113c9ca2497'/>
<id>urn:sha1:1a87fbfee0a0f96e8b482c2ac7eae113c9ca2497</id>
<content type='text'>
- Make sure Vsync interrupts are disabled in static screen case
  and enabled when not to save power
- Create no_static_for_external_dp debug option

Signed-off-by: Amy Zhang &lt;Amy.Zhang@amd.com&gt;
Reviewed-by: Anthony Koo &lt;Anthony.Koo@amd.com&gt;
Acked-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: add hyst frames for fixed refresh</title>
<updated>2017-09-26T22:08:23Z</updated>
<author>
<name>Anthony Koo</name>
<email>Anthony.Koo@amd.com</email>
</author>
<published>2017-06-27T17:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d09fec0f94376b1c0048215e14838295730ed6d3'/>
<id>urn:sha1:d09fec0f94376b1c0048215e14838295730ed6d3</id>
<content type='text'>
Signed-off-by: Anthony Koo &lt;anthony.koo@amd.com&gt;
Reviewed-by: Anthony Koo &lt;Anthony.Koo@amd.com&gt;
Acked-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Temporary disable BTR FreeSync support for now</title>
<updated>2017-09-26T22:07:54Z</updated>
<author>
<name>Anthony Koo</name>
<email>Anthony.Koo@amd.com</email>
</author>
<published>2017-06-06T20:30:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fea0f581ab529e194d424452a6f7ecd88c5a2116'/>
<id>urn:sha1:fea0f581ab529e194d424452a6f7ecd88c5a2116</id>
<content type='text'>
Reduce timer tick interval for the static screen

Signed-off-by: Anthony Koo &lt;anthony.koo@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Fix DRR Enable on Desktop</title>
<updated>2017-09-26T22:07:51Z</updated>
<author>
<name>Amy Zhang</name>
<email>Amy.Zhang@amd.com</email>
</author>
<published>2017-06-02T20:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fc82c5cb306d6f201cdee2c4c092ff49c6929634'/>
<id>urn:sha1:fc82c5cb306d6f201cdee2c4c092ff49c6929634</id>
<content type='text'>
- Block PSR in Full screen apps to prevent incorrect static screen curser events
- Reprogram static screen events when update freesync state
- Program static ramp variable active after other values are programmed
- Correct wrong assigning of the nominal and current vcount

Signed-off-by: Amy Zhang &lt;Amy.Zhang@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
