]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: fix fbdev pix format to support all platforms
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 8 Dec 2015 16:32:14 +0000 (18:32 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Dec 2015 08:00:22 +0000 (10:00 +0200)
commitdcf86cfb6d4602cb877a1adf93532d250819883d
tree2e864de6aad012e1d396ed4e21252f9dc35841dd
parent4920d7d57f4b89e6c9ef52a8cf08c2582dcfa7a7
drm/omap: fix fbdev pix format to support all platforms

omap_fbdev always creates a framebuffer with ARGB8888 pixel format. On
OMAP3 we have VIDEO1 overlay that does not support ARGB8888, and on
OMAP2 none of the overlays support ARGB888.

This patch changes the omap_fbdev's fb to XRGB8888, which is supported
by all platforms.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_fbdev.c