]> 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)
commit14ebed276e393ff00f20222e5a7656ee457f679a
treeae226b428b4a3f273726a761f2ab0794173a5bf8
parent1f00264309316f1a57ea31fbf25e8ac375bdede8
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