aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arc/arcpgu.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2021-01-12 09:43:48 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-02-25 12:03:43 +0100
commit1aae52630d99f8f4e62fa64d33ecfa32c3533d4a (patch)
tree2884cac67fdba4c4f30cf41306b58e368715e207 /drivers/gpu/drm/arc/arcpgu.h
parentdrm/arc: Embedded a drm_simple_display_pipe (diff)
downloadlinux-dev-1aae52630d99f8f4e62fa64d33ecfa32c3533d4a.tar.xz
linux-dev-1aae52630d99f8f4e62fa64d33ecfa32c3533d4a.zip
drm/arc: Embedd a drm_connector for sim case
Removes the last devm_kzalloc, which means we're now prepared to use drmm_mode_config_cleanup! Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210112084358.2771527-5-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/arc/arcpgu.h')
-rw-r--r--drivers/gpu/drm/arc/arcpgu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/arc/arcpgu.h b/drivers/gpu/drm/arc/arcpgu.h
index 52afd638a4d2..c52cdd2274e1 100644
--- a/drivers/gpu/drm/arc/arcpgu.h
+++ b/drivers/gpu/drm/arc/arcpgu.h
@@ -15,6 +15,7 @@ struct arcpgu_drm_private {
void __iomem *regs;
struct clk *clk;
struct drm_simple_display_pipe pipe;
+ struct drm_connector sim_conn;
};
#define dev_to_arcpgu(x) container_of(x, struct arcpgu_drm_private, drm)