drm: Add support of ARC PGU display controller
Subsystems (6)
v6 cover drm: Add support of ARC PGU display controller
This series add support of ARC PGU display controller.
ARC PGU is a quite simple byte streamer that gets data from the framebuffer and pushes it to hte connected encoder (DP or HDMI).
It was tested on ARC SDP boards (axs101/103 in particular).
Note following series (v6) that introduces drm_connector_register_all() is a prerequisite now: https://lkml.org/lkml/2016/4/19/299
Changes v5 -> v6:
* "arc: Add our own implementation of fb_pgprotect()" was already applied to ARC's tree and available in linux-next:
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=e5e0a65cd20a7a892a87e6bd73bdc3d83726d725
Changes v4 -> v5:
* Removed encode node from DT bindings example (as suggested by Rob)
Changes v3 -> v4:
* Main driver author is now set properly (thanks Carlos for all your efforts)
* Implemented correct hsync and vsync setup (thanks Jose)
* Dummy call-backs were removed (as suggested by Daniel)
* Obsolete load()/unload() call-backs were removed (as suggested by Daniel)
* With above in mind we were able to adopt recently introduced drm_connector_register_all()/drm_connector_unregister_all()
* Implemented setup of properties (uncached) for FB user-pages
* Minor clean-up in DT binding docs and axs10x_mb.dtsi
Changes v2 -> v3:
* Improved failure path if arcpgu_connector wasn't allocated.
* Fixed driver building as module.
* Implemented uncached mapping of user-space FB pages.
* Again updated DT bindings docs.
Changes v1 -> v2:
* Clean-up of DT bindings documentation.
* Added missing "pxlclk" clock in axs10x_mb.dtsi.
Alexey Brodkin (3):
drm: Add DT bindings documentation for ARC PGU display controller
MAINTAINERS: Add maintainer for ARC PGU display controller
arc: axs10x - add support of ARC PGU
Carlos Palminha (1):
drm: Add support of ARC PGU display controller
.../devicetree/bindings/display/snps,arcpgu.txt | 35 +++ MAINTAINERS | 6 + arch/arc/boot/dts/axs10x_mb.dtsi | 61 +++++ drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/arc/Kconfig | 10 + drivers/gpu/drm/arc/Makefile | 2 + drivers/gpu/drm/arc/arcpgu.h | 50 ++++ drivers/gpu/drm/arc/arcpgu_crtc.c | 257 +++++++++++++++++++ drivers/gpu/drm/arc/arcpgu_drv.c | 282 +++++++++++++++++++++ drivers/gpu/drm/arc/arcpgu_hdmi.c | 201 +++++++++++++++ drivers/gpu/drm/arc/arcpgu_regs.h | 40 +++ 12 files changed, 947 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/snps,arcpgu.txt create mode 100644 drivers/gpu/drm/arc/Kconfig create mode 100644 drivers/gpu/drm/arc/Makefile create mode 100644 drivers/gpu/drm/arc/arcpgu.h create mode 100644 drivers/gpu/drm/arc/arcpgu_crtc.c create mode 100644 drivers/gpu/drm/arc/arcpgu_drv.c create mode 100644 drivers/gpu/drm/arc/arcpgu_hdmi.c create mode 100644 drivers/gpu/drm/arc/arcpgu_regs.h
Signature · 1 line
2.5.5
PATCH v6 1/4 drm: Add support of ARC PGU display controller
From: Carlos Palminha <[email protected]>
ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder.
---
Note following series (v6) that introduces drm_connector_register_all() is a prerequisite now: https://lkml.org/lkml/2016/4/19/299
No changes v5 -> v6.
No changes v4 -> v5.
Changes v3 -> v4:
* The driver author is now set properly (thanks Carlos for all your efforts)
* Implemented correct hsync and vsync setup (thanks Jose)
* Dummy call-backs were removed (as suggested by Daniel)
* Obsolete load()/unload() call-backs were removed (as suggested by Daniel)
* With above in mind we were able to adopt recently introduced drm_connector_register_all()/drm_connector_unregister_all()
Changes v2 -> v3:
* Improved failure path if arcpgu_connector wasn't allocated (thanks Jose).
* Fixed driver building as module (reported by 0-DAY kernel test infrastruct.)
* Implemented uncached mapping of user-space FB pages.
No changes v1 -> v2.
drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/arc/Kconfig | 10 ++ drivers/gpu/drm/arc/Makefile | 2 + drivers/gpu/drm/arc/arcpgu.h | 50 +++++++ drivers/gpu/drm/arc/arcpgu_crtc.c | 257 ++++++++++++++++++++++++++++++++++ drivers/gpu/drm/arc/arcpgu_drv.c | 282 ++++++++++++++++++++++++++++++++++++++ drivers/gpu/drm/arc/arcpgu_hdmi.c | 201 +++++++++++++++++++++++++++ drivers/gpu/drm/arc/arcpgu_regs.h | 40 ++++++ 9 files changed, 845 insertions(+) create mode 100644 drivers/gpu/drm/arc/Kconfig create mode 100644 drivers/gpu/drm/arc/Makefile create mode 100644 drivers/gpu/drm/arc/arcpgu.h create mode 100644 drivers/gpu/drm/arc/arcpgu_crtc.c create mode 100644 drivers/gpu/drm/arc/arcpgu_drv.c create mode 100644 drivers/gpu/drm/arc/arcpgu_hdmi.c create mode 100644 drivers/gpu/drm/arc/arcpgu_regs.h
drivers/gpu/drm/Kconfig +2 -0
@@ -281,3 +281,5 @@ source "drivers/gpu/drm/imx/Kconfig" source "drivers/gpu/drm/vc4/Kconfig" source "drivers/gpu/drm/etnaviv/Kconfig" + +source "drivers/gpu/drm/arc/Kconfig"
drivers/gpu/drm/Makefile +1 -0
@@ -78,3 +78,4 @@ obj-y += panel/ obj-y += bridge/ obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/ obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/ +obj-$(CONFIG_DRM_ARCPGU)+= arc/
drivers/gpu/drm/arc/Kconfig new file +10 -0
@@ -0,0 +1,10 @@ +config DRM_ARCPGU + tristate "ARC PGU" + depends on DRM && OF + select DRM_KMS_CMA_HELPER + select DRM_KMS_FB_HELPER + select DRM_KMS_HELPER + help + Choose this option if you have an ARC PGU controller. + + If M is selected the module will be called arcpgu.
drivers/gpu/drm/arc/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +arcpgu-y := arcpgu_crtc.o arcpgu_hdmi.o arcpgu_drv.o +obj-$(CONFIG_DRM_ARCPGU) += arcpgu.o
drivers/gpu/drm/arc/arcpgu.h new file +50 -0
50 lines not on this page · raw message
drivers/gpu/drm/arc/arcpgu_crtc.c new file +257 -0
257 lines not on this page · raw message
drivers/gpu/drm/arc/arcpgu_drv.c new file +282 -0
282 lines not on this page · raw message
drivers/gpu/drm/arc/arcpgu_hdmi.c new file +201 -0
201 lines not on this page · raw message
drivers/gpu/drm/arc/arcpgu_regs.h new file +40 -0
@@ -0,0 +1,40 @@ +/* +* ARC PGU DRM driver. +* +* Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +*/ + +#ifndef _ARC_PGU_REGS_H_ +#define _ARC_PGU_REGS_H_ + +#define ARCPGU_REG_CTRL 0x00 +#define ARCPGU_REG_STAT 0x04 +#define ARCPGU_REG_FMT 0x10 +#define ARCPGU_REG_HSYNC 0x14 +#define ARCPGU_REG_VSYNC 0x18 +#define ARCPGU_REG_ACTIVE 0x1c +#define ARCPGU_REG_BUF0_ADDR 0x40 +#define ARCPGU_REG_STRIDE 0x50 +#define ARCPGU_REG_START_SET 0x84 + +#define ARCPGU_REG_ID 0x3FC + +#define ARCPGU_CTRL_ENABLE_MASK 0x02 +#define ARCPGU_CTRL_VS_POL_MASK 0x1 +#define ARCPGU_CTRL_VS_POL_OFST 0x3 +#define ARCPGU_CTRL_HS_POL_MASK 0x1 +#define ARCPGU_CTRL_HS_POL_OFST 0x4 +#define ARCPGU_MODE_RGB888_MASK 0x04 +#define ARCPGU_STAT_BUSY_MASK 0x02 + +#endif
Signature · 1 line
2.5.5
PATCH v6 2/4 drm: Add DT bindings documentation for ARC PGU display controller
In reply to Alexey BrodkinThis add DT bindings documentation for ARC PGU display controller.
---
No changes v5 -> v6.
Changes v4 -> v5: (addressing Rob's comment)
* Added Rob's acked-by
* Remove "encoder-slave" from the example as well. Now only "pgu" node is mentioned in the example.
Changes v3 -> v4: (addressing Rob's comments)
* Removed "encoder-slave" from required properties
* Removed "0x" from node names
Changes v2 -> v3:
* Reverted back to initial larger version of example with minor fixes (thanks Rob for spotting those).
Changes v1 -> v2:
* Removed everything except PGU node itself.
.../devicetree/bindings/display/snps,arcpgu.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/snps,arcpgu.txt
Documentation/devicetree/bindings/display/snps,arcpgu.txt new file +35 -0
@@ -0,0 +1,35 @@ +ARC PGU + +This is a display controller found on several development boards produced +by Synopsys. The ARC PGU is an RGB streamer that reads the data from a +framebuffer and sends it to a single digital encoder (usually HDMI). + +Required properties: + - compatible: "snps,arcpgu" + - reg: Physical base address and length of the controller's registers. + - clocks: A list of phandle + clock-specifier pairs, one for each + entry in 'clock-names'. + - clock-names: A list of clock names. For ARC PGU it should contain: + - "pxlclk" for the clock feeding the output PLL of the controller. + +Required sub-nodes: + - port: The PGU connection to an encoder chip. + +Example: + +/ { + ... + + pgu@XXXXXXXX { + compatible = "snps,arcpgu"; + reg = <0xXXXXXXXX 0x400>; + clocks = <&clock_node>; + clock-names = "pxlclk"; + + port { + pgu_output: endpoint { + remote-endpoint = <&hdmi_enc_input>; + }; + }; + }; +};
Signature · 1 line
2.5.5
PATCH v6 3/4 MAINTAINERS: Add maintainer for ARC PGU display controller
In reply to Alexey BrodkinThis updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver.
---
No changes v5 -> v6.
No changes v4 -> v5.
No changes v3 -> v4.
No changes v2 -> v3.
No changes v1 -> v2.
MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
@@ -847,6 +847,12 @@ S: Maintained F: drivers/net/arcnet/ F: include/uapi/linux/if_arcnet.h +ARC PGU DRM DRIVER +M: Alexey Brodkin <[email protected]> +S: Supported +F: drivers/gpu/drm/arc/ +F: Documentation/devicetree/bindings/display/snps,arcpgu.txt + ARM HDLCD DRM DRIVER M: Liviu Dudau <[email protected]> S: Supported
Signature · 1 line
2.5.5
PATCH v6 4/4 arc: axs10x - add support of ARC PGU
In reply to Alexey BrodkinSynopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder.
That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree.
---
No changes v5 -> v6.
No changes v4 -> v5.
Changes v3 -> v4:
* Removed "0x" from node names (as suggested by Rob)
No changes v2 -> v3.
Changes v1 -> v2:
* Added missing "pxlclk" clock in axs10x_mb.dtsi
arch/arc/boot/dts/axs10x_mb.dtsi | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+)
arch/arc/boot/dts/axs10x_mb.dtsi +61 -0
@@ -34,6 +34,12 @@ clock-frequency = <50000000>; #clock-cells = <0>; }; + + pguclk: pguclk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <74440000>; + }; }; ethernet@0x18000 {
@@ -155,6 +161,37 @@ clocks = <&i2cclk>; interrupts = <16>; + adv7511:adv7511@39{ + compatible="adi,adv7511"; + reg = <0x39>; + interrupts = <23>; + adi,input-depth = <8>; + adi,input-colorspace = "rgb"; + adi,input-clock = "1x"; + adi,clock-delay = <0x03>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + /* RGB/YUV input */ + port@0 { + reg = <0>; + adv7511_input:endpoint { + remote-endpoint = <&pgu_output>; + }; + }; + + /* HDMI output */ + port@1 { + reg = <1>; + adv7511_output: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; + eeprom@0x54{ compatible = "24c01"; reg = <0x54>;
@@ -168,6 +205,16 @@ }; }; + hdmi0: connector { + compatible = "hdmi-connector"; + type = "a"; + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&adv7511_output>; + }; + }; + }; + gpio0:gpio@13000 { compatible = "snps,dw-apb-gpio"; reg = <0x13000 0x1000>;
@@ -229,5 +276,19 @@ reg = <2>; }; }; + + pgu@17000 { + compatible = "snps,arcpgu"; + reg = <0x17000 0x400>; + encoder-slave = <&adv7511>; + clocks = <&pguclk>; + clock-names = "pxlclk"; + + port { + pgu_output: endpoint { + remote-endpoint = <&adv7511_input>; + }; + }; + }; }; };
Signature · 1 line
2.5.5
Hi David,
Quoted 33 lines · Alexey Brodkin
This series add support of ARC PGU display controller.
ARC PGU is a quite simple byte streamer that gets data from the framebuffer and pushes it to hte connected encoder (DP or HDMI).It was tested on ARC SDP boards (axs101/103 in particular).
Note following series (v6) that introduces
drm_connector_register_all()is a prerequisite now: https://lkml.org/lkml/2016/4/19/299Changes v5 -> v6:
* "arc: Add our own implementation offb_pgprotect()" was already applied to ARC's tree and available in linux-next:
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=e5e0a65cd20a7a892a87e6bd73bdc3d83726d725Changes v4 -> v5:
* Removed encode node from DT bindings example (as suggested by Rob)Changes v3 -> v4:
* Main driver author is now set properly (thanks Carlos for all your efforts)
* Implemented correct hsync and vsync setup (thanks Jose)
* Dummy call-backs were removed (as suggested by Daniel)
* Obsolete load()/unload() call-backs were removed (as suggested by Daniel)
* With above in mind we were able to adopt recently introduced drm_connector_register_all()/drm_connector_unregister_all()
* Implemented setup of properties (uncached) for FB user-pages
* Minor clean-up in DT binding docs andaxs10x_mb.dtsiChanges v2 -> v3:
* Improved failure path ifarcpgu_connectorwasn't allocated.
* Fixed driver building as module.
* Implemented uncached mapping of user-space FB pages.
* Again updated DT bindings docs.
Quoted 3 lines
Changes v1 -> v2:
* Clean-up of DT bindings documentation.
* Added missing "pxlclk" clock inaxs10x_mb.dtsi.
That's my first submission of a DRM driver and I'm wondering which tree/branch should I use as a reference to rebase my patches and send you a pull request?
Especially given there's a prerequisite which is still only in
linux-next: http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=54d2c2da0946368b96b63e6daed7920f3
681243e
Regards,
Alexey
Hi Dave,
This is DRM driver for ARC PGU - simple bitstreamer used on Synopsys ARC SDP boards (both AXS101 and AXS103).
Those sources are from v6 series floated to mailing list here
https://lists.freedesktop.org/archives/dri-devel/2016-April/105156.html
and based on top of today's drm-next branch.
Best regards,
Alexey
The following changes since commit 027b3f8ba9277410c3191d72d1ed2c6146d8a668:
drm/modes: stop handling framebuffer special (2016-04-22 10:47:16 +-1000)
are available in the git repository at:
https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git topic-arcpgu-v6
for you to fetch changes up to b8c1eca1e089e8f4247b19b73955c875bf7b18ae:
arc: axs10x - add support of ARC PGU (2016-04-26 18:26:54 +-0300)
----------------------------------------------------------------
Alexey Brodkin (3):
drm: Add DT bindings documentation for ARC PGU display controller
MAINTAINERS: Add maintainer for ARC PGU display controller
arc: axs10x - add support of ARC PGU
Carlos Palminha (1):
drm: Add support of ARC PGU display controller
Documentation/devicetree/bindings/display/snps,arcpgu.txt | 35 +-+-+-+-+-+-+-
MAINTAINERS | 6 +-+-
arch/arc/boot/dts/axs10x_mb.dtsi | 61 +-+-+-+-+-+-+-+-+-+-+-+-
drivers/gpu/drm/Kconfig | 2 +-
drivers/gpu/drm/Makefile | 1 +-
drivers/gpu/drm/arc/Kconfig | 10 +-+-
drivers/gpu/drm/arc/Makefile | 2 +-
drivers/gpu/drm/arc/arcpgu.h | 50 +-+-+-+-+-+-+-+-+-+-
drivers/gpu/drm/arc/arcpgu_crtc.c | 257 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- drivers/gpu/drm/arc/arcpgu_drv.c | 282 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- drivers/gpu/drm/arc/arcpgu_hdmi.c | 201 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- drivers/gpu/drm/arc/arcpgu_regs.h | 40 +-+-+-+-+-+-+-+-
12 files changed, 947 insertions(+-)
create mode 100644 Documentation/devicetree/bindings/display/snps,arcpgu.txt create mode 100644 drivers/gpu/drm/arc/Kconfig
create mode 100644 drivers/gpu/drm/arc/Makefile
create mode 100644 drivers/gpu/drm/arc/arcpgu.h
create mode 100644 drivers/gpu/drm/arc/arcpgu_crtc.c
create mode 100644 drivers/gpu/drm/arc/arcpgu_drv.c
create mode 100644 drivers/gpu/drm/arc/arcpgu_hdmi.c
create mode 100644 drivers/gpu/drm/arc/arcpgu_regs.h
Dave Airlie
maintainerQuoted 4 lines · Alexey Brodkin
Hi Dave,
This is DRM driver for ARC PGU - simple bitstreamer used on Synopsys ARC SDP boards (both AXS101 and AXS103).
Hi Alexey,
I've pulled this tree into drm-next now, it seems to at least build here,
Thanks,
Dave.
[GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer
In reply to Alexey BrodkinHi Dave,
Please pull this mini-series that allows ARC PGU to use dedicated memory location as framebuffer backing storage.
v2 of that series was reviewed here
https://lists.freedesktop.org/archives/dri-devel/2016-April/106279.html
It is based on top of today's drm-next branch.
Best regards,
Alexey
The following changes since commit b89359bdf0f1e95a4c5f92300594ba9dde323fc4:
Merge branch 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-next (2016-04-29 14:57:51 +-1000)
are available in the git repository at:
https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git topic-arcpgu-updates
for you to fetch changes up to cb2ad5e5339c5122166265cea579cc6a356d46de:
ARC: [axs10x] Specify reserved memory for frame buffer (2016-04-29 14:34:13 +-0300)
----------------------------------------------------------------
Alexey Brodkin (2):
drm/arcpgu: use dedicated memory area for frame buffer
ARC: [axs10x] Specify reserved memory for frame buffer
arch/arc/boot/dts/axc001.dtsi | 22 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--- arch/arc/boot/dts/axc003.dtsi | 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+- arch/arc/boot/dts/axc003_idu.dtsi | 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+- arch/arc/boot/dts/axs10x_mb.dtsi | 2 +-- drivers/gpu/drm/arc/arcpgu_drv.c | 6 +-+-+-+-+-+-
5 files changed, 55 insertions(+-), 3 deletions(-)
Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer
Hi Dave,
Quoted 30 lines · Alexey Brodkin
Hi Dave,
Please pull this mini-series that allows ARC PGU to use dedicated memory location as framebuffer backing storage.
v2 of that series was reviewed here
https://lists.freedesktop.org/archives/dri-devel/2016-April/106279.htmlIt is based on top of today's drm-next branch.
Best regards,
AlexeyThe following changes since commit
b89359bdf0f1e95a4c5f92300594ba9dde323fc4:Merge branch 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-next (2016-04-29 14:57:51 +-1000)
are available in the git repository at:
https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git topic-arcpgu-updates
for you to fetch changes up to
cb2ad5e5339c5122166265cea579cc6a356d46de:ARC: [axs10x] Specify reserved memory for frame buffer (2016-04-29 14:34:13 +-0300)
----------------------------------------------------------------
Alexey Brodkin (2):
drm/arcpgu: use dedicated memory area for frame buffer
ARC: [axs10x] Specify reserved memory for frame buffer
Quoted 6 lines
arch/arc/boot/dts/axc001.dtsi | 22 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--- arch/arc/boot/dts/axc003.dtsi | 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+-
arch/arc/boot/dts/axc003_idu.dtsi| 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+- arch/arc/boot/dts/axs10x_mb.dtsi | 2 +-- drivers/gpu/drm/arc/arcpgu_drv.c | 6 +-+-+-+-+-+-5 files changed, 55 insertions(+-), 3 deletions(-)
Could you please take a look at this pull request?
-Alexey
Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer
Hi Dave,
Quoted 34 lines · Alexey Brodkin
Hi Dave,
Quoted 31 lines · Alexey Brodkin
Hi Dave,
Please pull this mini-series that allows ARC PGU to use dedicated memory location as framebuffer backing storage.
v2 of that series was reviewed here
https://lists.freedesktop.org/archives/dri-devel/2016-April/106279.htmlIt is based on top of today's drm-next branch.
Best regards,
AlexeyThe following changes since commit
b89359bdf0f1e95a4c5f92300594ba9dde323fc4:Merge branch 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-next (2016-04-29 14:57:51 +-1000)
are available in the git repository at:
https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git topic-arcpgu-updates
for you to fetch changes up to
cb2ad5e5339c5122166265cea579cc6a356d46de:ARC: [axs10x] Specify reserved memory for frame buffer (2016-04-29 14:34:13 +-0300)
----------------------------------------------------------------
Alexey Brodkin (2):
drm/arcpgu: use dedicated memory area for frame buffer
ARC: [axs10x] Specify reserved memory for frame buffer
Quoted 7 lines
Quoted 6 lines
arch/arc/boot/dts/axc001.dtsi | 22 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--- arch/arc/boot/dts/axc003.dtsi | 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+-
arch/arc/boot/dts/axc003_idu.dtsi| 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+- arch/arc/boot/dts/axs10x_mb.dtsi | 2 +-- drivers/gpu/drm/arc/arcpgu_drv.c | 6 +-+-+-+-+-+-5 files changed, 55 insertions(+-), 3 deletions(-)Could you please take a look at this pull request?
Another polite reminder.
-Alexey
Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer
Hi Dave,
Quoted 39 lines · Alexey Brodkin
Hi Dave,
Quoted 36 lines · Alexey Brodkin
Hi Dave,
Quoted 32 lines · Alexey Brodkin
Hi Dave,
Please pull this mini-series that allows ARC PGU to use dedicated memory location as framebuffer backing storage.
v2 of that series was reviewed here
https://lists.freedesktop.org/archives/dri-devel/2016-April/106279.htmlIt is based on top of today's drm-next branch.
Best regards,
AlexeyThe following changes since commit
b89359bdf0f1e95a4c5f92300594ba9dde323fc4:Merge branch 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-next (2016-04-29 14:57:51 +-1000)
are available in the git repository at:
https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git topic-arcpgu-updates
for you to fetch changes up to
cb2ad5e5339c5122166265cea579cc6a356d46de:ARC: [axs10x] Specify reserved memory for frame buffer (2016-04-29 14:34:13 +-0300)
----------------------------------------------------------------
Alexey Brodkin (2):
drm/arcpgu: use dedicated memory area for frame buffer
ARC: [axs10x] Specify reserved memory for frame buffer
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
arch/arc/boot/dts/axc001.dtsi | 22 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--- arch/arc/boot/dts/axc003.dtsi | 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+-
arch/arc/boot/dts/axc003_idu.dtsi| 14 +-+-+-+-+-+-+-+-+-+-+-+-+-+- arch/arc/boot/dts/axs10x_mb.dtsi | 2 +-- drivers/gpu/drm/arc/arcpgu_drv.c | 6 +-+-+-+-+-+-5 files changed, 55 insertions(+-), 3 deletions(-)Could you please take a look at this pull request?
Another polite reminder.
Could you please pull this one?
Indeed it was created quite some time ago so if required I may rebase it on top of whatever current you'd like.
Alternatively you may just apply the first patch from the series
(could be found here https://lists.freedesktop.org/archives/dri-devel/2016-April/106280.html)
and the second patch will be picked up by ARC maintainer (Vineet Gupta).
-Alexey
Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer
----- Original Message -----
Quoted 62 lines
From: "Alexey Brodkin" <Alexey.Brodkin at synopsys.com>
To: airlied at redhat.com, daniel at ffwll.ch, "Vineet Gupta" <Vineet.Gupta1 at synopsys.com>, airlied at linux.ie
Cc: dri-devel at lists.freedesktop.org, linux-kernel at vger.kernel.org, linux-snps-arc at lists.infradead.org
Sent: Monday, 23 May, 2016 8:31:41 PM
Subject: Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame bufferHi Dave,
Quoted 44 lines · Alexey Brodkin
Hi Dave,
Quoted 41 lines · Alexey Brodkin
Hi Dave,
Quoted 37 lines · Alexey Brodkin
Hi Dave,
Please pull this mini-series that allows ARC PGU to use dedicated memory location as framebuffer backing storage.
v2 of that series was reviewed here
https://lists.freedesktop.org/archives/dri-devel/2016-April/106279.htmlIt is based on top of today's drm-next branch.
Best regards,
AlexeyThe following changes since commit
b89359bdf0f1e95a4c5f92300594ba9dde323fc4:? Merge branch 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu
? into drm-next (2016-04-29 14:57:51 +1000)are available in the git repository at:
? https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git
? topic-arcpgu-updatesfor you to fetch changes up to
cb2ad5e5339c5122166265cea579cc6a356d46de:? ARC: [axs10x] Specify reserved memory for frame buffer (2016-04-29 ? 14:34:13 +0300)
----------------------------------------------------------------
Alexey Brodkin (2):
??????drm/arcpgu: use dedicated memory area for frame buffer ??????ARC: [axs10x] Specify reserved memory for frame bufferQuoted 8 lines
Quoted 7 lines
Quoted 6 lines
?arch/arc/boot/dts/axc001.dtsi?????| 22 ++++++++++++++++++++-- ?arch/arc/boot/dts/axc003.dtsi?????| 14 ++++++++++++++ ?arch/arc/boot/dts/axc003_idu.dtsi | 14 ++++++++++++++ ?arch/arc/boot/dts/axs10x_mb.dtsi??|??2 +- ?drivers/gpu/drm/arc/arcpgu_drv.c??|??6 ++++++?5 files changed, 55 insertions(+), 3 deletions(-)
Could you please take a look at this pull request?
Another polite reminder.
Quoted 8 lines
Could you please pull this one?
Indeed it was created quite some time ago so if required I may rebase it on top of whatever current you'd like.Alternatively you may just apply the first patch from the series (could be found here ?https://lists.freedesktop.org/archives/dri-devel/2016-April/106280.html) and the second patch will be picked up by ARC maintainer (Vineet Gupta).
I thought I did pull this, please check drm-next.
Dave.
Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer
Hi David,
Quoted 10 lines · David Airlie
----- Original Message -----
Quoted 7 lines
From: "Alexey Brodkin" <[email protected]>
To: [email protected], [email protected], "Vineet Gupta" <[email protected]>, [email protected]
Cc: [email protected], [email protected], [email protected]
Sent: Monday, 23 May, 2016 8:31:41 PM
Subject: Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer
Quoted 5 lines
Quoted 4 lines
Alternatively you may just apply the first patch from the series (could be found here
https://lists.freedesktop.org/archives/dri-devel/2016-April/106280.html)
and the second patch will be picked up by ARC maintainer (Vineet Gupta).I thought I did pull this, please check drm-next.
Oops. Indeed it's in linux-next.
Sorry for that noise. Will double-check linux-next next time before bugging people.
-Alexey