]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: add support for manually updated displays
authorSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 23 May 2019 20:07:56 +0000 (22:07 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 10 Jun 2019 14:04:15 +0000 (17:04 +0300)
commite71abc57725ebfe1232dea3f2f7580b1c0af92e9
tree64b10a440e9fe72c3ed85274ba217a0fcda0a8af
parent4225e56fabfc4eb8f8e421b980fbe684c0428822
drm/omap: add support for manually updated displays

This adds the required infrastructure for manually updated displays,
such as DSI command mode panels. While those panels often support
partial updates we currently always do a full refresh.

The display will be refreshed when something calls the dirty callback,
such as libdrm's drmModeDirtyFB(). This is currently being done at least
by the kernel console and Xorg (with modesetting driver) in their
default configuration. Weston does not implement this and the fbdev
backend does not work (display will not update). Weston's DRM backend
uses double buffering and the page flip will also trigger a display
refresh.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c
drivers/gpu/drm/omapdrm/omap_crtc.h
drivers/gpu/drm/omapdrm/omap_fb.c