<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/display/dc/dce112, branch linux-4.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-09T22:03:31Z</updated>
<entry>
<title>drm/amd/display: fix memory leak in resource pools</title>
<updated>2018-10-09T22:03:31Z</updated>
<author>
<name>Jun Lei</name>
</author>
<published>2018-09-18T13:38:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88ed9fb77ef420cf2e4ec1624f3e638685e28c8d'/>
<id>urn:sha1:88ed9fb77ef420cf2e4ec1624f3e638685e28c8d</id>
<content type='text'>
[why]
ddc engines were recently changed to be independently tracked
from pipe count.  the change was reflected in resource constructor
but not in destructor.  this manifests as a memory leak when
pipe harvesting is enabled, since not all constructed ddc engines
are freed

[how]
make destructor symmetric with constructor for all dcX_resource

Signed-off-by: Jun Lei &lt;Jun.Lei@amd.com&gt;
Reviewed-by: Aric Cyr &lt;Aric.Cyr@amd.com&gt;
Acked-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: clean up encoding checks</title>
<updated>2018-10-09T22:02:15Z</updated>
<author>
<name>Eric Yang</name>
</author>
<published>2018-09-14T19:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e15fc81f11854451ec8a8ed9168b8247e4e9a10b'/>
<id>urn:sha1:e15fc81f11854451ec8a8ed9168b8247e4e9a10b</id>
<content type='text'>
[Why]
All ASICS we support has YCbCr support, so
the check is unnecessary, the currently logic
in validate output also returns true all
the time, so the unneccessary logic is removed

Signed-off-by: Eric Yang &lt;Eric.Yang2@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: stop using switch for different CS revisions</title>
<updated>2018-09-14T20:47:11Z</updated>
<author>
<name>Dmytro Laktyushkin</name>
</author>
<published>2018-08-29T20:23:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b07971d43c4d321c65240749765bba2b2eaeeb30'/>
<id>urn:sha1:b07971d43c4d321c65240749765bba2b2eaeeb30</id>
<content type='text'>
Clock sources currently have support for asic specific
function pointers. But actual separation into functions
was never performed, leaving us with giant functions that
rely on switch.

This change creates separate functions, removing switch use.

Signed-off-by: Dmytro Laktyushkin &lt;Dmytro.Laktyushkin@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: num of sw i2c/aux engines less than num of connectors</title>
<updated>2018-09-11T03:43:18Z</updated>
<author>
<name>Hersen Wu</name>
</author>
<published>2018-08-21T13:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e8e4fbf8d8905071c045f2922de55adbe1a6abe'/>
<id>urn:sha1:0e8e4fbf8d8905071c045f2922de55adbe1a6abe</id>
<content type='text'>
[why]
AMD Stoney reference board, there are only 2 pipes (not include
underlay), and 3 connectors. resource creation, only
2 I2C/AUX engines are created. Within dc_link_aux_transfer, when
pin_data_en =2, refer to enengines[ddc_pin-&gt;pin_data-&gt;en] = NULL.
NULL point is referred later causing system crash.

[how]
each asic design has fixed number of ddc engines at hw side.
for each ddc engine, create its i2x/aux engine at sw side.

Signed-off-by: Hersen Wu &lt;hersenxs.wu@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Create new i2c resource</title>
<updated>2018-08-27T16:11:05Z</updated>
<author>
<name>David Francis</name>
</author>
<published>2018-07-23T18:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c85e6e546edd7e362693218a33a6f63217802fd3'/>
<id>urn:sha1:c85e6e546edd7e362693218a33a6f63217802fd3</id>
<content type='text'>
[Why]
I2C code did not match dc resource model and was generally
unpleasant

[How]
Move code into new svelte dce_i2c files, replacing various i2c
objects with two structs: dce_i2c_sw and dce_i2c_hw.  Fully split
sw and hw code paths.  Remove all redundant declarations.  Use
address lists to distinguish between versions.  Change dce80 code
to newer register access macros.

Signed-off-by: David Francis &lt;David.Francis@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Destroy aux_engines only once</title>
<updated>2018-08-06T19:35:24Z</updated>
<author>
<name>David Francis</name>
</author>
<published>2018-07-19T19:48:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d90e9a3bf5e747f0e3b0c8bec96d8699493f63ab'/>
<id>urn:sha1:d90e9a3bf5e747f0e3b0c8bec96d8699493f63ab</id>
<content type='text'>
[Why]
In the dce112 function to destroy the resource pool, engines
(the aux engines) is destroyed twice.  This has no ill effects
but is a tad redundant.

[How]
Remove the redundant call

Signed-off-by: David Francis &lt;David.Francis@amd.com&gt;
Reviewed-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: flatten aux_engine and engine</title>
<updated>2018-07-27T14:07:42Z</updated>
<author>
<name>Bhawanpreet Lakha</name>
</author>
<published>2018-06-28T21:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65c78961b30005447a0d9b285de93354d8308f34'/>
<id>urn:sha1:65c78961b30005447a0d9b285de93354d8308f34</id>
<content type='text'>
[Why]
engine and aux_engine are unnecessary layers we want to remove this
layer.

[How]
flatten engine and aux engine structs into one struct called
aux_engine and remove all references to the engine struct.

Signed-off-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Decouple aux from i2c</title>
<updated>2018-07-24T20:15:50Z</updated>
<author>
<name>Bhawanpreet Lakha</name>
</author>
<published>2018-07-10T21:20:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c6ac7112fb2b73a5e4e7ac1648cdaceb558f268'/>
<id>urn:sha1:5c6ac7112fb2b73a5e4e7ac1648cdaceb558f268</id>
<content type='text'>
[Why]
Aux engine is created from i2caux layer. We want to remove this layer
and use the engine directly.

[How]
Decouple aux engine from i2caux. Move aux engine related code to dce folder and use
dc resource pool to manage the engine. And use the engine functions directly

Signed-off-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Acked-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Convert remaining loggers off dc_logger</title>
<updated>2018-07-13T19:48:42Z</updated>
<author>
<name>Nicholas Kazlauskas</name>
</author>
<published>2018-06-19T13:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1cb3e4801e6896ba93d63222b1052199d2a8c9b'/>
<id>urn:sha1:e1cb3e4801e6896ba93d63222b1052199d2a8c9b</id>
<content type='text'>
- Removed dal/dm/dc loggers from linux, switched to kernel prints
- Modified functions that used these directly to use macros
- dc_logger support is completely dropped from Linux

Signed-off-by: Nicholas Kazlauskas &lt;nicholas.kazlauskas@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: Fix a typo in wm_min_memg_clk_in_khz</title>
<updated>2018-07-05T21:38:51Z</updated>
<author>
<name>Rex Zhu</name>
</author>
<published>2018-06-20T04:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1c6fddb583f70892f2dd6de8c63af3aa4600a7b'/>
<id>urn:sha1:b1c6fddb583f70892f2dd6de8c63af3aa4600a7b</id>
<content type='text'>
change wm_min_memg_clk_in_khz -&gt; wm_min_mem_clk_in_khz

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