]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: Add revision handling for FB_CEILING
authorDaniel Schultz <d.schultz@phytec.de>
Fri, 28 Oct 2016 11:52:41 +0000 (13:52 +0200)
committerJyri Sarha <jsarha@ti.com>
Tue, 29 Nov 2016 19:03:17 +0000 (21:03 +0200)
commitb30c8333391c10187041c43d3990a6b6876f889b
treeae226b428b4a3f273726a761f2ab0794173a5bf8
parent0f9f9f23bd85b1cb152b9d7709ea0267008c5fa3
drm/tilcdc: Add revision handling for FB_CEILING

The commit d8ff0c63fbcb ("drm/tilcdc: Adjust the FB_CEILING address")
added an adjustment of the FB_CEILING address. This is done by decrementing
the address by one.

On the AM335x (rev 0x4F201000) the framebuffer is rotated left over the
display border, because the ceiling address is 8f276fff instead of
8f277000. Since this adjustment isn't necessary for the LCDC v2, the
origin ceiling address should be used.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c