Thread (2 messages) 2 messages, 2 authors, 2021-06-29

Re: [PATCH] drm/aperture: Pass DRM driver structure instead of driver name

From: Neil Armstrong <hidden>
Date: 2021-06-29 17:03:46
Also in: amd-gfx, dri-devel, intel-gfx, linux-amlogic, linux-arm-kernel, linux-arm-msm, linux-hyperv, linux-rockchip, linux-sunxi, linux-tegra, nouveau

Hi,

On 29/06/2021 15:58, Thomas Zimmermann wrote:
Print the name of the DRM driver when taking over fbdev devices. Makes
the output to dmesg more consistent. Note that the driver name is only
used for printing a string to the kernel log. No UAPI is affected by this
change.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
...
 drivers/gpu/drm/meson/meson_drv.c             |  2 +-
Acked-by: Neil Armstrong <redacted>

...
quoted hunk ↗ jump to hunk
 
diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c
index a7388bf7c838..3d0ccc7eef1b 100644
--- a/drivers/gpu/drm/meson/meson_drv.c
+++ b/drivers/gpu/drm/meson/meson_drv.c
@@ -285,7 +285,7 @@ static int meson_drv_bind_master(struct device *dev, bool has_components)
 	 * Remove early framebuffers (ie. simplefb). The framebuffer can be
 	 * located anywhere in RAM
 	 */
-	ret = drm_aperture_remove_framebuffers(false, "meson-drm-fb");
+	ret = drm_aperture_remove_framebuffers(false, &meson_driver);
 	if (ret)
 		goto free_drm;
 
...
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help