[PATCH v1] drm/tegra: Restore opaque formats on Tegra20/30

2017-12-17 Thread Dmitry Osipenko
Commit 7772fdaef939 ("drm/tegra: Support ARGB and ABGR formats") broke DRM's MODE_ADDFB IOCTL on Tegra20/30, because it uses XRGBA format if requested FB depth is 24bpp. As a result, Xorg doesn't work anymore with both modesetting and opentegra drivers. On all Tegra's each plane has a blending

[PATCH v1] drm/tegra: Restore opaque formats on Tegra20/30

2017-12-17 Thread Dmitry Osipenko
Commit 7772fdaef939 ("drm/tegra: Support ARGB and ABGR formats") broke DRM's MODE_ADDFB IOCTL on Tegra20/30, because it uses XRGBA format if requested FB depth is 24bpp. As a result, Xorg doesn't work anymore with both modesetting and opentegra drivers. On all Tegra's each plane has a blending