<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/exynos/exynos_drm_encoder.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-11-22T08:55:17Z</updated>
<entry>
<title>drm/exynos: Fix potential NULL pointer dereference in exynos_drm_encoder.c</title>
<updated>2012-11-22T08:55:17Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2012-11-19T09:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c69d5276704e1a9c771de57c0a2e7b69ea3ea578'/>
<id>urn:sha1:c69d5276704e1a9c771de57c0a2e7b69ea3ea578</id>
<content type='text'>
Check overlay_ops is not NULL as checked in the previous 'if' condition.
Fixes the following smatch error:
drivers/gpu/drm/exynos/exynos_drm_encoder.c:509 exynos_drm_encoder_plane_disable()
error: we previously assumed 'overlay_ops' could be null (see line 499)

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>drm/exynos: fix overlay updating issue</title>
<updated>2012-11-22T08:55:17Z</updated>
<author>
<name>Inki Dae</name>
</author>
<published>2012-11-14T11:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffe9955a741a2742cc517245b2219b61cc6dde28'/>
<id>urn:sha1:ffe9955a741a2742cc517245b2219b61cc6dde28</id>
<content type='text'>
Chagelog v2:
Move encoder's dpms updating into exynos_drm_encoder_commit
function because when crtc's dpms is updated, encoder's dpms
is updated also. This would induce the issue that encoder
isn't disabled after crtc is disabled.

Changelog v1:
This patch fixes a issue that overlay data aren't applied
to real hardware when dpms off goes to on after setcrtc
was requested like below,
    dpms off -&gt; setcrtc -&gt; dpms off -&gt; dpms on

For this, it makes encoder's dpms to be updated when
setcrtc is requested.

Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>drm/exynos: fix display on issue</title>
<updated>2012-10-31T13:11:29Z</updated>
<author>
<name>Inki Dae</name>
</author>
<published>2012-10-18T09:59:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44c91697fb1add76f9f8c28c0d21b82b05b5d4cb'/>
<id>urn:sha1:44c91697fb1add76f9f8c28c0d21b82b05b5d4cb</id>
<content type='text'>
When crtc_funcs-&gt;dpms callback is called, exynos_crtc-&gt;dpms
and exynos_encoder-&gt;dpms are changed to new mode. But if user
requests dpms mode operation, OFF -&gt; ON, when crtc's dpms callback
is called, exynos_encoder-&gt;dpms is also changed to ON. This
makes encoder's dpms callback call be ignored so display power
couldn't become on again.

This patch removes exynos_encoder-&gt;dpms changing and adds 'updated'
variable to exynos_drm_encoder structure to avoid duplicated overlay
updating.

Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'exynos-drm-next' of git://git.infradead.org/users/kmpark/linux-samsung into drm-next</title>
<updated>2012-10-07T11:06:33Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2012-10-07T11:06:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5a0fc67435599d9d787a8d7153967a70fed968e'/>
<id>urn:sha1:a5a0fc67435599d9d787a8d7153967a70fed968e</id>
<content type='text'>
Inki writes:
"this patch set updates exynos drm framework and includes minor fixups.
and this pull request except hdmi device tree support patch set posted
by Rahul Sharma because that includes media side patch so for this
patch set, we may have git pull one more time in addition, if we get
an agreement with media guys. for this patch, you can refer to below link,
        http://comments.gmane.org/gmane.comp.video.dri.devel/74504

 this pull request adds hdmi device tree support
and includes related patch set such as disabling of hdmi internal
interrupt, suppport for platform variants for hdmi and mixer,
support to disable video processor based on platform type and
removal of drm common platform data. as you know, this patch
set was delayed because it included an media side patch. so for this,
we got an ack from v4l2-based hdmi driver author, Tomasz Stanislawski."

* 'exynos-drm-next' of git://git.infradead.org/users/kmpark/linux-samsung: (34 commits)
  drm: exynos: hdmi: remove drm common hdmi platform data struct
  drm: exynos: hdmi: add support for exynos5 hdmi
  drm: exynos: hdmi: replace is_v13 with version check in hdmi
  drm: exynos: hdmi: add support for exynos5 mixer
  drm: exynos: hdmi: add support to disable video processor in mixer
  drm: exynos: hdmi: add support for platform variants for mixer
  drm: exynos: hdmi: add support for exynos5 hdmiphy
  drm: exynos: hdmi: add support for exynos5 ddc
  drm: exynos: remove drm hdmi platform data struct
  drm: exynos: hdmi: turn off HPD interrupt in HDMI chip
  drm: exynos: hdmi: use s5p-hdmi platform data
  drm: exynos: hdmi: fix interrupt handling
  drm: exynos: hdmi: support for platform variants
  media: s5p-hdmi: add HPD GPIO to platform data
  drm/exynos: fix kcalloc size of g2d cmdlist node
  drm/exynos: fix to calculate CRTC shown via screen
  drm/exynos: fix display power call issue.
  drm/exynos: add platform_device_id table and driver data for drm fimd
  drm/exynos: Fix potential NULL pointer dereference
  drm/exynos: support drm_wait_vblank feature for VIDI
  ...

Conflicts:
	include/drm/exynos_drm.h
</content>
</entry>
<entry>
<title>drm/exynos: fix display power call issue.</title>
<updated>2012-10-04T01:06:01Z</updated>
<author>
<name>Inki Dae</name>
</author>
<published>2012-09-24T11:04:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58f6aad7d93f7ce009d371aa5065b70d593d3b17'/>
<id>urn:sha1:58f6aad7d93f7ce009d371aa5065b70d593d3b17</id>
<content type='text'>
Changelog v3:
make exynos_drm_display_power function use exynos_drm_best_encoder
function instead of connector-&gt;encoder to get a valid encoder.
connector-&gt;encoder could be NULL because with DRM_IOCTL_MODE_RMFB
request, connector-&gt;encoder is NULL so fix this issue.

Changelog v2:
remove static prefix so that exynos_drm_best_encoder function
could be called by other modules.

Changelog v1:
this patch fixes the issue that display power callback isn't called.
with DRM_IOCTL_MODE_RMFB request, encoder-&gt;connector becomes NULL
so display_ops-&gt;power_on() wouldn't be called so this patch makes
exynos_drm_best_encoder function to be used to get a valid encoder
of each connector.

Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>drm/exynos: Disable plane when released</title>
<updated>2012-10-04T01:06:00Z</updated>
<author>
<name>Inki Dae</name>
</author>
<published>2012-08-24T17:54:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcf4cef94294992f7cd11d5a90fa58b0eae6c795'/>
<id>urn:sha1:bcf4cef94294992f7cd11d5a90fa58b0eae6c795</id>
<content type='text'>
this patch ensures that each plane connected to encoder is disabled
when released, by adding disable callback function of encoder helper

we had faced with one issue that invalid memory is accessed by dma
once drm is released and then the dma is turned on again. actually,
in our case, page fault was incurred with iommu. the reason is that
a gem buffer accessed by the dma is also released once drm is released.

so this patch would fix this issue ensuring the dma is disabled
when released.

Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>drm/exynos: update crtc to plane safely</title>
<updated>2012-10-04T01:06:00Z</updated>
<author>
<name>Inki Dae</name>
</author>
<published>2012-08-17T08:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b85a0715f4615f953733c4afa6ec59cd0e73b52'/>
<id>urn:sha1:1b85a0715f4615f953733c4afa6ec59cd0e73b52</id>
<content type='text'>
if old_crtc isn't same as encoder-&gt;crtc then it means that
user changed crtc id to another one so a plane to old_crtc
should be disabled so that current plane can be updated safely
and plane-&gt;crtc should be set to new crtc(encoder-&gt;crtc)

Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>drm/exynos: add wait_for_vblank callback interface.</title>
<updated>2012-10-04T01:05:59Z</updated>
<author>
<name>Inki Dae</name>
</author>
<published>2012-08-20T10:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b011941f0ffdefb87585d9ed786164037d0d50df'/>
<id>urn:sha1:b011941f0ffdefb87585d9ed786164037d0d50df</id>
<content type='text'>
Changelog v2:
fixed comments.

Changelog v1:
this interface can be used to make sure that hardware overlay is disabled
to avoid that memory region is accessed by dma after gem buffer was released.

Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>drm/exynos: fixed duplicated mode setting.</title>
<updated>2012-10-04T01:05:59Z</updated>
<author>
<name>Inki Dae</name>
</author>
<published>2012-08-20T12:29:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50caf25c583b938c681b61e64dac58da9b640f2f'/>
<id>urn:sha1:50caf25c583b938c681b61e64dac58da9b640f2f</id>
<content type='text'>
this patch fixes that when drm_crtc_helper_set_mode() is called,
mode data for hardware overlay and conntroller are updated two times.
for example, in case that drm_crtc_helper_set_mode() is called,
overlay_ops-&gt;commit() and manager_ops-&gt;commit() callbacks can be called
two times, first at drm_crtc_helper_set_mode() and second
at drm_helper_connector_dpms().

Signed-off-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
</entry>
<entry>
<title>UAPI: (Scripted) Convert #include "..." to #include &lt;path/...&gt; in drivers/gpu/</title>
<updated>2012-10-02T17:01:07Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2012-10-02T17:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=760285e7e7ab282c25b5e90816f7c47000557f4f'/>
<id>urn:sha1:760285e7e7ab282c25b5e90816f7c47000557f4f</id>
<content type='text'>
Convert #include "..." to #include &lt;path/...&gt; in drivers/gpu/.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Dave Airlie &lt;airlied@redhat.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Acked-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
</feed>
