mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
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:
@@ -265,7 +265,7 @@ static struct drm_plane *vc4_fkms_plane_init(struct drm_device *dev,
|
|||||||
ret = drm_universal_plane_init(dev, plane, 0xff,
|
ret = drm_universal_plane_init(dev, plane, 0xff,
|
||||||
&vc4_plane_funcs,
|
&vc4_plane_funcs,
|
||||||
primary ? &xrgb8888 : &argb8888, 1, NULL,
|
primary ? &xrgb8888 : &argb8888, 1, NULL,
|
||||||
type, NULL);
|
type, primary ? "primary" : "cursor");
|
||||||
|
|
||||||
if (type == DRM_PLANE_TYPE_PRIMARY) {
|
if (type == DRM_PLANE_TYPE_PRIMARY) {
|
||||||
vc4_plane->fbinfo =
|
vc4_plane->fbinfo =
|
||||||
|
|||||||
Reference in New Issue
Block a user