<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/tilcdc/tilcdc_drv.c, branch linux-4.7.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-02-25T14:39:47+00:00</updated>
<entry>
<title>drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data</title>
<updated>2016-02-25T14:39:47+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2016-02-23T10:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d0ec32caef0baa490b419895ef61c8481d49f7cd'/>
<id>urn:sha1:d0ec32caef0baa490b419895ef61c8481d49f7cd</id>
<content type='text'>
Use devm_kzalloc() and devm_kcalloc() for private data allocation at
driver load time.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: Add prints on sync lost and FIFO underrun interrupts</title>
<updated>2016-02-25T14:39:44+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-12-18T11:07:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c0c2baaab1b553df92a24e9175440f15e6ad3e2c'/>
<id>urn:sha1:c0c2baaab1b553df92a24e9175440f15e6ad3e2c</id>
<content type='text'>
Add ratelimited prints on sync lost and FIFO underrun interrupts.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: Remove the duplicate LCDC_INT_ENABLE_SET_REG in registers[]</title>
<updated>2016-02-25T14:39:43+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2016-01-08T10:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f3a99946a95b3482eabec63b9f662963d7d2e3c8'/>
<id>urn:sha1:f3a99946a95b3482eabec63b9f662963d7d2e3c8</id>
<content type='text'>
Removes the duplicate LCDC_INT_ENABLE_SET_REG-entry in registers array.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: Fix interrupt enable/disable code for version 2 tilcdc</title>
<updated>2016-02-25T14:39:42+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-12-09T10:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=947df7e3f019bba902a55485635060e5970fb9a2'/>
<id>urn:sha1:947df7e3f019bba902a55485635060e5970fb9a2</id>
<content type='text'>
Fix interrupt enable/disable code for version 2 tilcdc. In version 2
tilcdc there is a separate register for disabling interrupts. Writing
0 to enable registers bits does not have any effect. The interrupt
clear register works the same way, writing 1 to specific bit disables
the interrupt and writing 0 does not have any effect.

The "bug" that is fixed here does not really do any harm since the
interrupts are enabled only once in the power up and disabled before
power down.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: Get rid of complex ping-pong mechanism</title>
<updated>2016-02-25T14:39:40+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-10-20T06:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2b2080d7e9ae2463b15a003629d2ea7d733759a0'/>
<id>urn:sha1:2b2080d7e9ae2463b15a003629d2ea7d733759a0</id>
<content type='text'>
Get rid of complex ping-pong mechanism and replace it with simpler
single buffer flipping code.

The LCDC HW appears to be designed mainly static framebuffers in
mind. There are two modes of operation, either static single buffer,
or ping pong double buffering with two static buffers switching back
and forth. Luckily the framebuffer start address is fetched only in
the beginning of the frame and changing the address after that only
takes effect after the next vertical blank. The page flipping code can
simply write the address of the new framebuffer and the page is
flipped automatically after the next vertical blank. Using the ping
pong double buffering makes the flipping code way more complex and it
does not provide any benefit, so it is better to switch to single
buffer operation.

There is still one problem in updating the framebuffer dma address on
the fly. There are two registers defining the framebuffer dma area and
things may break if the dma address is fetched in while the registers
are are being updated.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
[Added description to the patch]
Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: disable crtc on unload</title>
<updated>2016-02-25T14:39:37+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-10-19T11:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1aea1e79dbfd65a99da11868829c3e147b85cc32'/>
<id>urn:sha1:1aea1e79dbfd65a99da11868829c3e147b85cc32</id>
<content type='text'>
Disable crtc on unload. Call tilcdc_crtc_dpms() with DRM_MODE_DPMS_OFF
in the beginning of unload function.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
[Added description to the patch]
Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: cleanup runtime PM handling</title>
<updated>2016-02-25T14:39:36+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-10-19T09:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=65734a262350a746100dcfd85a81f7dc1b69dd10'/>
<id>urn:sha1:65734a262350a746100dcfd85a81f7dc1b69dd10</id>
<content type='text'>
Cleanup runtime PM handling. Before the patch the usage of pm_runtime
calls was inconsistent and hard to follow. After the update the
pm_runtime calls are removed from set_scanout() and called around
major operations that access the HW. After the patch the DPMS code does
not have pm_runtime_forbid/allow calls any more and
pm_runtime_irq_safe() is not set anymore.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
[Added description to the patch]
Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: Allocate register storage based on the actual number registers</title>
<updated>2016-02-25T14:39:35+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-07-02T13:26:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=29ddd6e171abae990a881b9e221359f13c546369'/>
<id>urn:sha1:29ddd6e171abae990a881b9e221359f13c546369</id>
<content type='text'>
Allocate suspend/resume register storage based on the actual number
registers the driver is aware of. The static allocation for register
storage had fallen behind badly.

Reported-by: Michael Bode &lt;michael@bumbleB.de&gt;
Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: fix build error when !CONFIG_CPU_FREQ</title>
<updated>2016-02-25T14:39:34+00:00</updated>
<author>
<name>Grygorii Strashko</name>
<email>Grygorii.Strashko@linaro.org</email>
</author>
<published>2015-02-25T16:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7974dff4957f953f0f6fd71c30e02a7c25aea7f0'/>
<id>urn:sha1:7974dff4957f953f0f6fd71c30e02a7c25aea7f0</id>
<content type='text'>
Fix build error when !CONFIG_CPU_FREQ
drivers/gpu/drm/tilcdc/tilcdc_drv.c: In function 'tilcdc_load':
drivers/gpu/drm/tilcdc/tilcdc_drv.c:327:1: error: label 'fail_put_clk' defined but not used [-Werror=unused-label]
 fail_put_clk:
 ^

Signed-off-by: Grygorii Strashko &lt;Grygorii.Strashko@linaro.org&gt;
Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: Implement dma-buf support for tilcdc</title>
<updated>2016-02-25T14:39:33+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-06-23T11:31:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9c15390506d6888978fa98094f7578142d2e2f01'/>
<id>urn:sha1:9c15390506d6888978fa98094f7578142d2e2f01</id>
<content type='text'>
There is nothing special about tilcdc HW when the video memory is
concerned. Just using the standard drm helpers for implementation is
enough.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
</feed>
