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)
commit4c268d635f8d4f5ac438884e781a2ebd5754c491
treeae226b428b4a3f273726a761f2ab0794173a5bf8
parent507b72b24caec79b4687a99fe3e518ca04674e13
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