This makes debugging nicer, compared to trying to remember what the
IDs are.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
ret = drm_universal_plane_init(dev, plane, 0xff,
&vc4_plane_funcs,
primary ? &xrgb8888 : &argb8888, 1,
ret = drm_universal_plane_init(dev, plane, 0xff,
&vc4_plane_funcs,
primary ? &xrgb8888 : &argb8888, 1,
+ type, primary ? "primary" : "cursor");
if (type == DRM_PLANE_TYPE_PRIMARY) {
vc4_plane->fbinfo =
if (type == DRM_PLANE_TYPE_PRIMARY) {
vc4_plane->fbinfo =