<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/tilcdc, branch v4.6</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.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-02-25T14:39:47Z</updated>
<entry>
<title>drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data</title>
<updated>2016-02-25T14:39:47Z</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2016-02-23T10:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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: Initialize crtc-&gt;port</title>
<updated>2016-02-25T14:39:46Z</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-05-27T08:58:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d66284fba15014daacef64cfc610a249553534c6'/>
<id>urn:sha1:d66284fba15014daacef64cfc610a249553534c6</id>
<content type='text'>
Initialize port device node pointer in the tilcdc crtc. Fixes "Falling
back to first CRTC" warning from tda998x driver.

The tda998x encoder driver calls drm_of_find_possible_crtcs() to
initialize possible_crtcs of struct drm_encoder. The crtc-&gt;port needs
to be initialized for drm_of_find_possible_crtcs() to work.

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: Disable sync lost interrupt if it fires on every frame</title>
<updated>2016-02-25T14:39:45Z</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2016-01-08T12:33:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5895d08f6ff2175dabc373dada7d1bfa26123fc9'/>
<id>urn:sha1:5895d08f6ff2175dabc373dada7d1bfa26123fc9</id>
<content type='text'>
Disable the sync lost interrupt if it fires on every frame for 50
consecutive frames in a row. This is relatively sure sign of the sync
lost interrupt being stuck and firing on every frame even if the
display otherwise appears to work OK.

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:44Z</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-12-18T11:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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:43Z</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2016-01-08T10:17:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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:42Z</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-12-09T10:16:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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: Do not update the next frame buffer close to vertical blank</title>
<updated>2016-02-25T14:39:41Z</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-11-03T10:00:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2b3a8cd71c2b830164df5de07e4ddebe0faa58f5'/>
<id>urn:sha1:2b3a8cd71c2b830164df5de07e4ddebe0faa58f5</id>
<content type='text'>
Do not update the next frame buffer close to vertical blank. This is
to avoid situation when the frame changes between writing of
LCDC_DMA_FB_BASE_ADDR_0_REG and LCDC_DMA_FB_CEILING_ADDR_0_REG.

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: Get rid of complex ping-pong mechanism</title>
<updated>2016-02-25T14:39:40Z</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-10-20T06:37:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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: cleanup irq handling</title>
<updated>2016-02-25T14:39:40Z</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-10-20T09:08:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=317aae738b6402cd66fb9b52434b783f17ff5dd4'/>
<id>urn:sha1:317aae738b6402cd66fb9b52434b783f17ff5dd4</id>
<content type='text'>
Cleanup irq handling. Clear the irq status unconditionally and
restructure the status bit conditions.

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: remove broken error handling</title>
<updated>2016-02-25T14:39:39Z</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-10-20T09:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=31ec5a2c7eed3a3e182a592591f4fb04304668a1'/>
<id>urn:sha1:31ec5a2c7eed3a3e182a592591f4fb04304668a1</id>
<content type='text'>
Remove broken error handling. The condition for handling the
LCDC_SYNC_LOST and LCDC_FIFO_UNDERFLOW could never be satisfied as the
LCDC_SYNC_LOST interrupt is not enabled. Also the requirement to have
both LCDC_SYNC_LOST and LCDC_FIFO_UNDERFLOW fired at once before
handling the error looks weird.

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>
</feed>
