projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef594b8
)
drm/vc4: Name the primary and cursor planes in fkms.
author
Eric Anholt
<eric@anholt.net>
Thu, 2 Feb 2017 01:09:18 +0000
(17:09 -0800)
committer
popcornmix
<popcornmix@gmail.com>
Mon, 13 May 2019 23:08:00 +0000
(
00:08
+0100)
This makes debugging nicer, compared to trying to remember what the
IDs are.
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_firmware_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_firmware_kms.c
b/drivers/gpu/drm/vc4/vc4_firmware_kms.c
index
78c3430
..
d9a5551
100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_firmware_kms.c
+++ b/
drivers/gpu/drm/vc4/vc4_firmware_kms.c
@@
-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 =