mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-27 09:11:49 +00:00
21 lines
788 B
Diff
21 lines
788 B
Diff
From 07145ad0791209d3782eca4800406e7028e40a24 Mon Sep 17 00:00:00 2001
|
|
From: Neil Armstrong <narmstrong@baylibre.com>
|
|
Date: Wed, 7 Nov 2018 11:24:43 +0100
|
|
Subject: [PATCH] fixup! drm/meson: Use optional canvas provider
|
|
|
|
---
|
|
drivers/gpu/drm/meson/meson_drv.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c
|
|
index 3997e3e..3ee4d4a4e 100644
|
|
--- a/drivers/gpu/drm/meson/meson_drv.c
|
|
+++ b/drivers/gpu/drm/meson/meson_drv.c
|
|
@@ -332,6 +332,7 @@ static int meson_drv_bind(struct device *dev)
|
|
static void meson_drv_unbind(struct device *dev)
|
|
{
|
|
struct drm_device *drm = dev_get_drvdata(dev);
|
|
+ struct meson_drm *priv = drm->dev_private;
|
|
|
|
if (priv->canvas) {
|
|
meson_canvas_free(priv->canvas, priv->canvas_id_osd1);
|