From: Eric Anholt Date: Thu, 2 Feb 2017 01:09:18 +0000 (-0800) Subject: drm/vc4: Name the primary and cursor planes in fkms. X-Git-Tag: archive/raspbian/4.9.82-1+deb9u3+rpi1_jessie~5^2~316 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=87965be6288c5688103a5f3b6ac42362d6bed82c;p=linux-4.9.git 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 --- diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c index d18a1dae51a2..e49ce68b607a 100644 --- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c +++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c @@ -267,7 +267,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, - type, NULL); + type, primary ? "primary" : "cursor"); if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo =