Re: [PATCH v6 18/43] drm/vkms: Introduce config for plane name

From: Louis Chauvet

Date: Mon Nov 23 2026 - 10:00:38 EST




On 11/23/26 15:56, Oarora Etimis wrote:
@@ -265,7 +266,7 @@ struct vkms_plane *vkms_plane_init(struct vkms_device *vkmsdev,
&vkms_plane_funcs,
vkms_formats, ARRAY_SIZE(vkms_formats),
NULL, vkms_config_plane_get_type(plane_cfg),
- NULL);
+ "%s", vkms_config_plane_get_name(plane_cfg));
if (IS_ERR(plane))
return plane;


Small one: with no name configured,every plane ends up as "null",so they all look the same in the debugfs listing. Before this patch, the core named: "plane-d", which was pretty handy.

Could we keep that fallback when the name is missing, as it can improve readability? :)


Make sense, I will do it for the next iteration:

if (get_name())
init(... %s, get_name())
else
init(..., NULL)

Can I keep your R-by with this change?


Reviewed-by: Oarora Etimis <oaroraetimis@xxxxxxxxx>

Thanks,
Oarora Etimis