]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: backend: Use a specific function to check if a plane is supported
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 23 Nov 2018 09:24:39 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Nov 2018 08:41:31 +0000 (09:41 +0100)
commit7de497a968ef7f78e67452ff1c57038a34756194
treeee4610158ad314b5642c76574252fe49fab7ad35
parent90179bfd290cf98710659f2cb6ff0db3d607c815
drm/sun4i: backend: Use a specific function to check if a plane is supported

Before this patch, it is assumed that a plane is supported either
through the frontend or through the backend alone. However, the DRM
interface does not allow finely reporting our hardware capabilities
and there are cases where neither are support.

In particular, some plane formats are supported by the backend and not
the frontend, so they can only be supported without scaling.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181123092515.2511-8-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_backend.c