[PATCH 0/3 v2] Make ARC PGU usable on sim platforms

From: Alexey Brodkin
Date: Fri Jun 10 2016 - 10:30:20 EST


Initially ARC PGU required real encoder/trnasmitter to exist.
That was fine for real HW such as ARC SDP boards.

But on some simulaiton platroms like ARC VDK or nSIM OSCI we have model
of the same ARC PGU and ability to output video data in a virtual LCD.

To make ARC PGU driver usable in those virtual platforms we need to istantiate
virtual encoder instead of a real one. And that all is done in the first patch
of the series.

Subsequent patches just update configs of both VDK and nSIM OSCI boards
with enabling ARC PGU driver and adding required fixups in their DT
descriptions.

Changes v1 -> v2:
* Got rid of dummy arcpgu_drm_encoder_helper_funcs and now rely on default
best encoder

Alexey Brodkin (2):
ARCv2: [vdk] Enable ARC PGU on HS38 VDK
ARC: [nsimosci] Enable ARC PGU on nSIM OSCI virtual platforms

Ruud Derwig (1):
drm/arcpgu: Make ARC PGU usable on simulation platforms

arch/arc/boot/dts/nsimosci.dts | 14 +++-
arch/arc/boot/dts/nsimosci_hs.dts | 14 +++-
arch/arc/boot/dts/nsimosci_hs_idu.dts | 14 +++-
arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 13 ++-
arch/arc/boot/dts/vdk_hs38_smp.dts | 2 +-
arch/arc/configs/nsimosci_defconfig | 3 +-
arch/arc/configs/nsimosci_hs_defconfig | 3 +-
arch/arc/configs/nsimosci_hs_smp_defconfig | 3 +-
arch/arc/configs/vdk_hs38_smp_defconfig | 7 +-
drivers/gpu/drm/arc/Makefile | 2 +-
drivers/gpu/drm/arc/arcpgu.h | 1 +
drivers/gpu/drm/arc/arcpgu_drv.c | 15 ++--
drivers/gpu/drm/arc/arcpgu_sim.c | 128 +++++++++++++++++++++++++++++
13 files changed, 189 insertions(+), 30 deletions(-)
create mode 100644 drivers/gpu/drm/arc/arcpgu_sim.c

--
2.5.5