<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/msm, branch v4.20.5</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.20.5</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.20.5'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2018-12-03T13:46:14+00:00</updated>
<entry>
<title>drm/msm: Fix error return checking</title>
<updated>2018-12-03T13:46:14+00:00</updated>
<author>
<name>Wen Yang</name>
<email>wen.yang99@zte.com.cn</email>
</author>
<published>2018-11-29T06:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=098336deb946f37a70afc0979af388b615c378bf'/>
<id>urn:sha1:098336deb946f37a70afc0979af388b615c378bf</id>
<content type='text'>
The error checks on ret for a negative error return always fails because
the return value of iommu_map_sg() is unsigned and can never be negative.

Detected with Coccinelle:
drivers/gpu/drm/msm/msm_iommu.c:69:9-12: WARNING: Unsigned expression
compared with zero: ret &lt; 0

Signed-off-by: Wen Yang &lt;wen.yang99@zte.com.cn&gt;
CC: Rob Clark &lt;robdclark@gmail.com&gt;
CC: David Airlie &lt;airlied@linux.ie&gt;
CC: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
CC: linux-arm-msm@vger.kernel.org
CC: dri-devel@lists.freedesktop.org
CC: freedreno@lists.freedesktop.org
CC: linux-kernel@vger.kernel.org
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm/dpu: Ignore alpha for XBGR8888 format</title>
<updated>2018-12-03T13:46:14+00:00</updated>
<author>
<name>Jayant Shekhar</name>
<email>jshekhar@codeaurora.org</email>
</author>
<published>2018-11-30T11:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d9a75a6201d9367a452de59d7759b708633f1a1f'/>
<id>urn:sha1:d9a75a6201d9367a452de59d7759b708633f1a1f</id>
<content type='text'>
Alpha enable in the pixel format will help in
selecting the blend rule. By keeping alpha enable
to true we are allowing foreground alpha to blend
with the layer. If alpha is don't care, then we
should not allow pixel alpha to be part of blend
equation.

Signed-off-by: Jayant Shekhar &lt;jshekhar@codeaurora.org&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm: dpu: Fix "WARNING: invalid free of devm_ allocated data"</title>
<updated>2018-12-03T13:46:14+00:00</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2018-11-16T11:25:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ce25aa3ee6939d83979cccf7adc5737cba9a0cb7'/>
<id>urn:sha1:ce25aa3ee6939d83979cccf7adc5737cba9a0cb7</id>
<content type='text'>
'dpu_enc' is a member of 'drm_enc'
And 'drm_enc' got allocated with devm_kzalloc in dpu_encoder_init.

This gives this error message:
./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:459:1-6:
 WARNING: invalid free of devm_ allocated data

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm/hdmi: Drop pointless static qualifier in msm_hdmi_bind()</title>
<updated>2018-12-03T13:46:14+00:00</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2018-11-14T09:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=671465198e39706a125d832857e987ec47ce3ae8'/>
<id>urn:sha1:671465198e39706a125d832857e987ec47ce3ae8</id>
<content type='text'>
There is no need to have the 'struct hdmi_platform_config *hdmi_cfg'
variable static since new value always be assigned before use it.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm: Move fence put to where failure occurs</title>
<updated>2018-12-03T13:46:13+00:00</updated>
<author>
<name>Robert Foss</name>
<email>robert.foss@collabora.com</email>
</author>
<published>2018-11-05T10:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2189463dba3eac10d7264a40ede12fc1a3c06fb1'/>
<id>urn:sha1:2189463dba3eac10d7264a40ede12fc1a3c06fb1</id>
<content type='text'>
If dma_fence_wait fails to wait for a supplied in-fence in
msm_ioctl_gem_submit, make sure we release that in-fence.

Also remove this dma_fence_put() from the 'out' label.

Signed-off-by: Robert Foss &lt;robert.foss@collabora.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm: dpu: Don't set legacy plane-&gt;crtc pointer</title>
<updated>2018-12-03T13:46:13+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2018-10-16T15:52:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=081679c51ef2fd7b23cf9ddb7d775b17f75de18c'/>
<id>urn:sha1:081679c51ef2fd7b23cf9ddb7d775b17f75de18c</id>
<content type='text'>
It causes a WARN in drm_atomic_get_plane_state(), and is not used by
atomic (or dpu).

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/msm/gpu: Don't map command buffers with nr_relocs equal to 0</title>
<updated>2018-12-03T13:46:13+00:00</updated>
<author>
<name>Jordan Crouse</name>
<email>jcrouse@codeaurora.org</email>
</author>
<published>2018-10-15T21:31:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d52900437e95e2799953af21971a54fe5f8e33ff'/>
<id>urn:sha1:d52900437e95e2799953af21971a54fe5f8e33ff</id>
<content type='text'>
If a command buffer doesn't have any relocs assigned to it there then
is no need to map it in the kernel address space.

Signed-off-by: Jordan Crouse &lt;jcrouse@codeaurora.org&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm/hdmi: Enable HPD after HDMI IRQ is set up</title>
<updated>2018-12-03T13:46:13+00:00</updated>
<author>
<name>Todor Tomov</name>
<email>todor.tomov@linaro.org</email>
</author>
<published>2018-10-19T14:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ee4456359640defe3f51cc6b728bfce4bc444c9e'/>
<id>urn:sha1:ee4456359640defe3f51cc6b728bfce4bc444c9e</id>
<content type='text'>
SoCs that contain MDP5 have a top level wrapper called MDSS that
manages locks, power and irq for the sub-blocks within it.

Irq for HDMI is also routed through the MDSS.

Shortly after the Hot Plug Detection (HPD) is enabled in HDMI,
HDMI interrupts are recieved by the MDSS interrupt handler.
However at this moment the HDMI irq is still not mapped to
the MDSS irq domain so the HDMI irq handler cannot be called
to process the interrupts.

This leads to a flood of HDMI interrupts on CPU 0.

If we are lucky to have the HDMI initialization running on a
different CPU, it will eventually map the HDMI irq to MDSS irq
domain, the next HDMI interrupt will be handled by the HDMI irq
handler, the interrupt flood will stop and we will recover.

If the HDMI initialization is running on CPU 0, then it cannot
complete and there is nothing to stop the interrupt flood on
CPU 0. The system is stuck.

Fix this by moving the HPD enablement after the HDMI irq is
mapped to the MDSS irq domain.

Signed-off-by: Todor Tomov &lt;todor.tomov@linaro.org&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm: validate display and event threads</title>
<updated>2018-12-03T13:46:07+00:00</updated>
<author>
<name>Jeykumar Sankaran</name>
<email>jsanka@codeaurora.org</email>
</author>
<published>2018-10-10T21:11:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7f9743abaa79d3491fee7a0446461b0fdd2aeaa5'/>
<id>urn:sha1:7f9743abaa79d3491fee7a0446461b0fdd2aeaa5</id>
<content type='text'>
While creating display and event threads per crtc, validate
them before setting their priorities.

changes in v2:
	- use dev_warn (Abhinav Kumar)
changes in v3:
	- fix compilation error
changes in v4:
	- Remove Change-Id (Sean Paul)
	- Keep logging within 80 char limit (Sean Paul)

Reviewed-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: Jeykumar Sankaran &lt;jsanka@codeaurora.org&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/msm: Grab a vblank reference when waiting for commit_done</title>
<updated>2018-11-30T16:58:03+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2018-10-03T20:22:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3b712e43e3876b42b38321ecf790a1f5fe59c834'/>
<id>urn:sha1:3b712e43e3876b42b38321ecf790a1f5fe59c834</id>
<content type='text'>
Similar to the atomic helpers, we should enable vblank while we're
waiting for the commit to finish. DPU needs this, MDP5 seems to work
fine without it.

Reviewed-by: Abhinav Kumar &lt;abhinavk@codeaurora.org&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
</feed>
