Skip to content

Commit

Permalink
drm/vc4: Name the primary and cursor planes in fkms.
Browse files Browse the repository at this point in the history
This makes debugging nicer, compared to trying to remember what the
IDs are.

Signed-off-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
anholt authored and popcornmix committed Feb 16, 2017
1 parent bd96b6f commit 65c95ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/vc4/vc4_firmware_kms.c
Expand Up @@ -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 =
Expand Down

0 comments on commit 65c95ff

Please sign in to comment.