summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arc/arcpgu.h
diff options
context:
space:
mode:
authorRuud Derwig <rderwig@synopsys.com>2016-06-06 10:47:46 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2016-06-13 18:45:17 +0300
commita189d28e5edea70f20995547ddc84c79b2f76c03 (patch)
tree2cab6e30400c91cf771bbc0f4dc339c3d8bf74fd /drivers/gpu/drm/arc/arcpgu.h
parent3c85f20a289d044f303f473ee6ab7502303fc3b0 (diff)
downloadlinux-a189d28e5edea70f20995547ddc84c79b2f76c03.tar.xz
drm/arcpgu: Make ARC PGU usable on simulation platforms
In case of simulation there's no real encoder/transmitter device because in the model's virtual LCD we're rendering whatever appears in frame-buffer memory. Signed-off-by: Ruud Derwig <rderwig@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Acked-by: Daniel Vetter <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 86574b698a78..329ac7570911 100644
--- a/drivers/gpu/drm/arc/arcpgu.h
+++ b/drivers/gpu/drm/arc/arcpgu.h
@@ -43,6 +43,7 @@ static inline u32 arc_pgu_read(struct arcpgu_drm_private *arcpgu,
int arc_pgu_setup_crtc(struct drm_device *dev);
int arcpgu_drm_hdmi_init(struct drm_device *drm, struct device_node *np);
+int arcpgu_drm_sim_init(struct drm_device *drm, struct device_node *np);
struct drm_fbdev_cma *arcpgu_fbdev_cma_init(struct drm_device *dev,
unsigned int preferred_bpp, unsigned int num_crtc,
unsigned int max_conn_count);