drm/vc4: Name the primary and cursor planes in fkms.

This makes debugging nicer, compared to trying to remember what the
IDs are.

Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Eric Anholt
2017-02-01 17:09:18 -08:00
committed by popcornmix
parent d220958a72
commit 6543b079bf

View File

@@ -265,7 +265,7 @@ static struct drm_plane *vc4_fkms_plane_init(struct drm_device *dev,
ret = drm_universal_plane_init(dev, plane, 0xff,
&vc4_plane_funcs,
primary ? &xrgb8888 : &argb8888, 1, NULL,
type, NULL);
type, primary ? "primary" : "cursor");
if (type == DRM_PLANE_TYPE_PRIMARY) {
vc4_plane->fbinfo =