[PATCHv6 0/3]
Subsystems (5)
v6 cover [PATCHv6 0/3]
From: Ong Hean Loong <[email protected]>
The FPGA FrameBuffer Soft IP could be seen as the GPU and the DRM driver patch here is allocating memory for information to be streamed from the ARM/Linux to the display port. Basically the driver just wraps the information such as the pixels to be drawn by the FPGA FrameBuffer 2.
The piece of hardware in discussion is the SoC FPGA where Linux runs on the ARM chip and the FGPA is driven by its NIOS soft core with its own proprietary firmware.
For example the application from the ARM Linux would have to write information on the /dev/fb0 with the information stored in the SDRAM to be fetched by the FPGA framebuffer IP and displayed on the Display Port Monitor.
Ong Hean Loong (3):
ARM:dt-bindings Intel FPGA Video and Image Processing Suite ARM:socfpga-defconfig Intel FPGA Video and Image Processing Suite ARM:drm ivip Intel FPGA Video and Image Processing Suite
.../devicetree/bindings/display/altr,vip-fb2.txt | 42 +++++ arch/arm/configs/socfpga_defconfig | 6 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/ivip/Kconfig | 14 ++ drivers/gpu/drm/ivip/Makefile | 9 + drivers/gpu/drm/ivip/intel_vip_conn.c | 96 ++++++++++ drivers/gpu/drm/ivip/intel_vip_core.c | 162 +++++++++++++++++ drivers/gpu/drm/ivip/intel_vip_drv.h | 52 ++++++ drivers/gpu/drm/ivip/intel_vip_of.c | 194 +++++++++++++++++++++ 10 files changed, 578 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/altr,vip-fb2.txt create mode 100644 drivers/gpu/drm/ivip/Kconfig create mode 100644 drivers/gpu/drm/ivip/Makefile create mode 100644 drivers/gpu/drm/ivip/intel_vip_conn.c create mode 100644 drivers/gpu/drm/ivip/intel_vip_core.c create mode 100644 drivers/gpu/drm/ivip/intel_vip_drv.h create mode 100644 drivers/gpu/drm/ivip/intel_vip_of.c
Signature · 6 lines
2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v6 1/3 ARM:dt-bindings Intel FPGA Video and Image Processing Suite
From: Ong Hean Loong <[email protected]>
Device tree binding for Intel FPGA Video and Image Processing Suite. The binding involved would be generated from the Altera (Intel) Qsys system. The bindings would set the max width, max height, buts per pixel and memory port width. The device tree binding only supports the Intel Arria10 devkit and its variants. Vendor name retained as altr.
---
V6:
Fix comments for description
V5:
*Fix comments on description
*remove bindings for bits per symbol as it has only one value which is 8
V4:
*Fix comments on description
V3:
*Fix comments on description
V2:
*Fix comments on description
V1:
*Fix comments on description
---
--- .../devicetree/bindings/display/altr,vip-fb2.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/altr,vip-fb2.txt
Documentation/devicetree/bindings/display/altr,vip-fb2.txt new file +42 -0
@@ -0,0 +1,42 @@ +Intel Video and Image Processing(VIP) Frame Buffer II bindings + +Supported hardware: Intel FPGA SoC Arria10 and above with display port IP + +The hardware associated with this device tree is a SoC FPGA. +Where there is an microprocessor and a FPGA device. +The microprocessor would host the OS while the FPGA device runs +on its individual IP firmware. The Intel VIP Frame Buffer II +system would be driving data from the to the FPGA device +programmed with the Frame Buffer II IP to render pixels to be streamed +to the Display Port connector. + +The Frame Buffer II device is a simple frame buffer device. The device +contains the display properties and the bridge or connector register. +The output for this device currently is a dedicated to a single Display Port. +Currently the max resolution supported is 1280 x 720 at 60Hz. + +More information the FPGA video IP component can be acquired from +https://www.altera.com/content/dam/altera-www/global/en_US/pdfs\ +/literature/ug/ug_vip.pdf + +New bindings: +============= +Required properties: +---------------------------- +- compatible: "altr,vip-frame-buffer-2.0" +- reg: Physical base address and length of the framebuffer controller's + registers. +- altr,max-width: The maximum width of the framebuffer in pixels. +- altr,max-height: The maximum height of the framebuffer in pixels. +- altr,mem-port-width: the bus width of the avalon master port + on the frame reader + +Example: +---------------------------- + dp_0_frame_buf: display-controller@100000280 { + compatible = "altr,vip-frame-buffer-2.0"; + reg = <0x00000001 0x00000280 0x00000040>; + altr,max-width = <1280>; + altr,max-height = <720>; + altr,mem-port-width = <128>; + };
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Quoted 1 line · Ong
From: Ong Hean Loong <[email protected]>
"dt-bindings: display: ..." for the subject. With that,
Quoted 9 lines
Device tree binding for Intel FPGA Video and Image Processing Suite. The binding involved would be generated from the Altera (Intel) Qsys system. The bindings would set the max width, max height, buts per pixel and memory port width. The device tree binding only supports the Intel Arria10 devkit and its variants. Vendor name retained as altr.
Quoted 4 lines
Signed-off-by Ong, Hean Loong <[email protected]>---
V6:
Fix comments for description
A completely useless version history. You should describe the diff between versions.
Quoted 14 lines
V5:
*Fix comments on description
*remove bindings for bits per symbol as it has only one value which is 8V4:
*Fix comments on descriptionV3:
*Fix comments on descriptionV2:
*Fix comments on description
Quoted 7 lines
V1:
*Fix comments on description
------ .../devicetree/bindings/display/altr,vip-fb2.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/altr,vip-fb2.txt
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
T24gVGh1LCAyMDE3LTA4LTE3IGF0IDEwOjIyIC0wNTAwLCBSb2IgSGVycmluZyB3cm90ZToNCj4g T24gRnJpLCBBdWcgMTEsIDIwMTcgYXQgMDI6NDk6NDVQTSArMDgwMCwgSGVhbi1Mb29uZywgT25n IHdyb3RlOg0KPiA+IA0KPiA+IEZyb206IE9uZyBIZWFuIExvb25nIDxoZWFuLmxvb25nLm9uZ0Bp bnRlbC5jb20+DQo+ICJkdC1iaW5kaW5nczogZGlzcGxheTogLi4uIiBmb3IgdGhlIHN1YmplY3Qu IFdpdGggdGhhdCwNCj4gDQo+IEFja2VkLWJ5OiBSb2IgSGVycmluZyA8cm9iaEBrZXJuZWwub3Jn Pg0KPiANCj4gPiANCj4gPiANCj4gPiBEZXZpY2UgdHJlZSBiaW5kaW5nIGZvciBJbnRlbCBGUEdB IFZpZGVvIGFuZCBJbWFnZQ0KPiA+IFByb2Nlc3NpbmcgU3VpdGUuIFRoZSBiaW5kaW5nIGludm9s dmVkIHdvdWxkIGJlIGdlbmVyYXRlZA0KPiA+IGZyb20gdGhlIEFsdGVyYSAoSW50ZWwpIFFzeXMg c3lzdGVtLiBUaGUgYmluZGluZ3Mgd291bGQNCj4gPiBzZXQgdGhlIG1heCB3aWR0aCwgbWF4IGhl aWdodCwgYnV0cyBwZXIgcGl4ZWwgYW5kIG1lbW9yeQ0KPiA+IHBvcnQgd2lkdGguIFRoZSBkZXZp Y2UgdHJlZSBiaW5kaW5nIG9ubHkgc3VwcG9ydHMgdGhlIEludGVsDQo+ID4gQXJyaWExMCBkZXZr aXQgYW5kIGl0cyB2YXJpYW50cy4gVmVuZG9yIG5hbWUgcmV0YWluZWQgYXMNCj4gPiBhbHRyLg0K PiA+IA0KPiA+IFNpZ25lZC1vZmYtYnk6IE9uZywgSGVhbiBMb29uZyA8aGVhbi5sb29uZy5vbmdA aW50ZWwuY29tPg0KPiA+IC0tLQ0KPiA+IFY2Og0KPiA+IEZpeCBjb21tZW50cyBmb3IgZGVzY3Jp cHRpb24NCj4gQSBjb21wbGV0ZWx5IHVzZWxlc3MgdmVyc2lvbiBoaXN0b3J5LiBZb3Ugc2hvdWxk IGRlc2NyaWJlIHRoZSBkaWZmwqANCj4gYmV0d2VlbiB2ZXJzaW9ucy4NCj4gDQpOb3RlZC4gV291 bGQgbWFrZSB0aGUgbmVjZXNzYXJ5IGNoYW5nZXMNCj4gPiANCj4gPiANCj4gPiBWNToNCj4gPiAq Rml4IGNvbW1lbnRzIG9uIGRlc2NyaXB0aW9uDQo+ID4gKnJlbW92ZSBiaW5kaW5ncyBmb3IgYml0 cyBwZXIgc3ltYm9sIGFzIGl0IGhhcyBvbmx5IG9uZSB2YWx1ZSB3aGljaA0KPiA+IGlzIDgNCj4g PiANCj4gPiBWNDoNCj4gPiAqRml4IGNvbW1lbnRzIG9uIGRlc2NyaXB0aW9uDQo+ID4gDQo+ID4g VjM6DQo+ID4gKkZpeCBjb21tZW50cyBvbiBkZXNjcmlwdGlvbg0KPiA+IA0KPiA+IFYyOg0KPiA+ ICpGaXggY29tbWVudHMgb24gZGVzY3JpcHRpb24NCj4gPiANCj4gPiBWMToNCj4gPiAqRml4IGNv bW1lbnRzIG9uIGRlc2NyaXB0aW9uDQo+ID4gLS0tDQo+ID4gLS0tDQo+ID4gwqAuLi4vZGV2aWNl dHJlZS9iaW5kaW5ncy9kaXNwbGF5L2FsdHIsdmlwLWZiMi50eHTCoMKgwqB8IDQyDQo+ID4gKysr KysrKysrKysrKysrKysrKysrKw0KPiA+IMKgMSBmaWxlIGNoYW5nZWQsIDQyIGluc2VydGlvbnMo KykNCj4gPiDCoGNyZWF0ZSBtb2RlIDEwMDY0NA0KPiA+IERvY3VtZW50YXRpb24vZGV2aWNldHJl ZS9iaW5kaW5ncy9kaXNwbGF5L2FsdHIsdmlwLWZiMi50eHQ=
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v6 2/3 ARM:socfpga-defconfig Intel FPGA Video and Image Processing Suite
In reply to Hean-Loong, OngFrom: Ong Hean Loong <[email protected]>
Intel FPGA Video and Image Processing Suite Frame Buffer II driver config for Arria 10 devkit and its variants
--- arch/arm/configs/socfpga_defconfig | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/configs/socfpga_defconfig +6 -0
@@ -111,6 +111,12 @@ CONFIG_MFD_ALTERA_A10SR=y CONFIG_MFD_STMPE=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_DRM=m +CONFIG_DRM_IVIP=m +CONFIG_DRM_IVIP_OF=m +CONFIG_FB=y +CONFIG_FB_SIMPLE=y +CONFIG_FRAMEBUFFER_CONSOLE=m CONFIG_USB=y CONFIG_USB_STORAGE=y CONFIG_USB_DWC2=y
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 3/3 ARM:drm ivip Intel FPGA Video and Image Processing Suite
In reply to Hean-Loong, OngFrom: Ong Hean Loong <[email protected]>
Driver for Intel FPGA Video and Image Processing Suite Frame Buffer II. The driver only supports the Intel Arria10 devkit and its variants. This driver can be either loaded staticlly or in modules. The OF device tree binding is located at:Documentation/devicetree/bindings/display/altr,vip-fb2.txt
---
V6:
*Fix Comments for Makefile and Kconfig
V5:
*Fix Comments
V4:
*Fix Comments
V3:
*Changes to fixing drm_simple_pipe
*Used drm_fb_cma_get_gem_addr
V2:
*Adding drm_simple_display_pipe_init
---
--- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/ivip/Kconfig | 14 +++ drivers/gpu/drm/ivip/Makefile | 9 ++ drivers/gpu/drm/ivip/intel_vip_conn.c | 96 +++++++++++++++++ drivers/gpu/drm/ivip/intel_vip_core.c | 162 ++++++++++++++++++++++++++++ drivers/gpu/drm/ivip/intel_vip_drv.h | 52 +++++++++ drivers/gpu/drm/ivip/intel_vip_of.c | 194 ++++++++++++++++++++++++++++++++++ 8 files changed, 530 insertions(+) create mode 100644 drivers/gpu/drm/ivip/Kconfig create mode 100644 drivers/gpu/drm/ivip/Makefile create mode 100644 drivers/gpu/drm/ivip/intel_vip_conn.c create mode 100644 drivers/gpu/drm/ivip/intel_vip_core.c create mode 100644 drivers/gpu/drm/ivip/intel_vip_drv.h create mode 100644 drivers/gpu/drm/ivip/intel_vip_of.c
drivers/gpu/drm/Kconfig +2 -0
@@ -195,6 +195,8 @@ source "drivers/gpu/drm/nouveau/Kconfig" source "drivers/gpu/drm/i915/Kconfig" +source "drivers/gpu/drm/ivip/Kconfig" + config DRM_VGEM tristate "Virtual GEM provider" depends on DRM
drivers/gpu/drm/Makefile +1 -0
@@ -58,6 +58,7 @@ obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/ obj-$(CONFIG_DRM_MGA) += mga/ obj-$(CONFIG_DRM_I810) += i810/ obj-$(CONFIG_DRM_I915) += i915/ +obj-$(CONFIG_DRM_IVIP) += ivip/ obj-$(CONFIG_DRM_MGAG200) += mgag200/ obj-$(CONFIG_DRM_VC4) += vc4/ obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
drivers/gpu/drm/ivip/Kconfig new file +14 -0
@@ -0,0 +1,14 @@ +config DRM_IVIP + tristate "Intel FGPA Video and Image Processing" + depends on DRM && OF + select DRM_GEM_CMA_HELPER + select DRM_KMS_HELPER + select DRM_KMS_FB_HELPER + select DRM_KMS_CMA_HELPER + help + Choose this option if you have a Intel FPGA Arria 10 system + and above with an Intel Display Port IP. This does not support + legacy Intel FPGA Cyclone V display port. Currently only single + frame buffer is supported. Note that ACPI and X_86 architecture + is not supported for Arria10.If M is selected the module will be + called ivip.
drivers/gpu/drm/ivip/Makefile new file +9 -0
@@ -0,0 +1,9 @@ +# +# Makefile for the drm device driver. This driver provides support for the +# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. + +ccflags-y := -Iinclude/drm + +obj-$(CONFIG_DRM_IVIP) += ivip.o +ivip-objs := intel_vip_of.o intel_vip_core.o \ + intel_vip_conn.o
drivers/gpu/drm/ivip/intel_vip_conn.c new file +96 -0
96 lines not on this page · raw message
drivers/gpu/drm/ivip/intel_vip_core.c new file +162 -0
162 lines not on this page · raw message
drivers/gpu/drm/ivip/intel_vip_drv.h new file +52 -0
52 lines not on this page · raw message
drivers/gpu/drm/ivip/intel_vip_of.c new file +194 -0
194 lines not on this page · raw message
Signature · 1 line
2.7.4
Re: [PATCHv6 3/3] ARM:drm ivip Intel FPGA Video and Image Processing Suite
Quoted 6 lines · Ong
drivers/gpu/drm/ivip/Kconfig new file +0
-0
drivers/gpu/drm/ivip/Kconfig line 9
Quoted 9 lines
drivers/gpu/drm/ivip/Kconfig new file +9
-0@@ -0,0 +1,14 @@ +config DRM_IVIP + tristate "Intel FGPA Video and Image Processing" + depends on DRM && OF + select DRM_GEM_CMA_HELPER + select DRM_KMS_HELPER + select DRM_KMS_FB_HELPER + select DRM_KMS_CMA_HELPER + help + Choose this option if you have a Intel FPGA Arria 10 system
an
drivers/gpu/drm/ivip/Kconfig line 13
Quoted 4 lines
drivers/gpu/drm/ivip/Kconfig new file +4
-0+ and above with an Intel Display Port IP. This does not support + legacy Intel FPGA Cyclone V display port. Currently only single + frame buffer is supported. Note that ACPI and X_86 architecture + is not supported for Arria10.If M is selected the module will be
Arria10. If M is
drivers/gpu/drm/ivip/Kconfig line 14
Quoted 1 line
drivers/gpu/drm/ivip/Kconfig new file +1
-0+ called ivip.
All of the help text should be indented with one tab + 2 spaces according to coding-style.rst.
Signature · 1 line
~Randy
Re: [PATCHv6 3/3] ARM:drm ivip Intel FPGA Video and Image Processing Suite
T24gRnJpLCAyMDE3LTA4LTExIGF0IDA4OjIxIC0wNzAwLCBSYW5keSBEdW5sYXAgd3JvdGU6DQo+ IE9uIDA4LzEwLzIwMTcgMTE6NDkgUE0sIEhlYW4tTG9vbmcsIE9uZyB3cm90ZToNCj4gPiANCj4g PiBkaWZmIC0tZ2l0IGEvZHJpdmVycy9ncHUvZHJtL2l2aXAvS2NvbmZpZw0KPiA+IGIvZHJpdmVy cy9ncHUvZHJtL2l2aXAvS2NvbmZpZw0KPiA+IG5ldyBmaWxlIG1vZGUgMTAwNjQ0DQo+ID4gaW5k ZXggMDAwMDAwMC4uMzk4YzlhYg0KPiA+IC0tLSAvZGV2L251bGwNCj4gPiArKysgYi9kcml2ZXJz L2dwdS9kcm0vaXZpcC9LY29uZmlnDQo+ID4gQEAgLTAsMCArMSwxNCBAQA0KPiA+ICtjb25maWcg RFJNX0lWSVANCj4gPiArwqDCoMKgwqDCoMKgwqDCoHRyaXN0YXRlICJJbnRlbCBGR1BBIFZpZGVv IGFuZCBJbWFnZSBQcm9jZXNzaW5nIg0KPiA+ICvCoMKgwqDCoMKgwqDCoMKgZGVwZW5kcyBvbiBE Uk0gJiYgT0YNCj4gPiArwqDCoMKgwqDCoMKgwqDCoHNlbGVjdCBEUk1fR0VNX0NNQV9IRUxQRVIN Cj4gPiArwqDCoMKgwqDCoMKgwqDCoHNlbGVjdCBEUk1fS01TX0hFTFBFUg0KPiA+ICvCoMKgwqDC oMKgwqDCoMKgc2VsZWN0IERSTV9LTVNfRkJfSEVMUEVSDQo+ID4gK8KgwqDCoMKgwqDCoMKgwqBz ZWxlY3QgRFJNX0tNU19DTUFfSEVMUEVSDQo+ID4gK8KgwqDCoMKgwqDCoMKgwqBoZWxwDQo+ID4g K8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoENob29zZSB0aGlzIG9wdGlvbiBpZiB5b3UgaGF2ZSBh IEludGVsIEZQR0EgQXJyaWEgMTANCj4gPiBzeXN0ZW0NCj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqBhbg0KPiANCj4gPiANCj4gPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg YW5kIGFib3ZlIHdpdGggYW4gSW50ZWwgRGlzcGxheSBQb3J0IElQLiBUaGlzIGRvZXMgbm90DQo+ ID4gc3VwcG9ydA0KPiA+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqBsZWdhY3kgSW50ZWwgRlBH QSBDeWNsb25lIFYgZGlzcGxheSBwb3J0LiBDdXJyZW50bHkNCj4gPiBvbmx5IHNpbmdsZQ0KPiA+ ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqBmcmFtZSBidWZmZXIgaXMgc3VwcG9ydGVkLiBOb3Rl IHRoYXQgQUNQSSBhbmQgWF84Ng0KPiA+IGFyY2hpdGVjdHVyZQ0KPiA+ICvCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqBpcyBub3Qgc3VwcG9ydGVkIGZvciBBcnJpYTEwLklmIE0gaXMgc2VsZWN0ZWQg dGhlDQo+ID4gbW9kdWxlIHdpbGwgYmUNCj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgQXJyaWExMC4gSWYgTSBp cw0KPiANCj4gPiANCj4gPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgY2FsbGVkIGl2aXAuDQo+ IEFsbCBvZiB0aGUgaGVscCB0ZXh0IHNob3VsZCBiZSBpbmRlbnRlZCB3aXRoIG9uZSB0YWIgKyAy IHNwYWNlcw0KPiBhY2NvcmRpbmcgdG8gY29kaW5nLXN0eWxlLnJzdC4NCj4gDQo+IA0KTm90ZWQu --
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 2740499.pDDaZTb32r@avalon
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Hean Loong,
(CC'ing dri-devel again as I noticed it wasn't CC'ed anymore)
Quoted 4 lines · Hean Loong
Hi Laurent,
Thanks for the comments, I drafted a copy of the DT bindings based on your recommendations and inputs. I inserted the changes below the previous comments.
[snip]
Quoted 16 lines
Intel Video and Image Processing(VIP) Frame Buffer II bindings
Supported hardware: Intel FPGA SoC Arria10 and above with display port IP
The Video Frame Buffer II in Video Image Processing (VIP) suite is an IP core that interfaces between system memory and Avalon-ST video ports. The IP core can be configured to support the memory reader (from memory to Avalon- ST) and/or memory writer (from Avalon-ST to memory) interfaces.
Connections between the Frame Buffer II and other video IP cores in the system are modelled using the OF graph DT bindings. The Frame Buffer II node has up to two OF graph ports. When the memory writer interface is enabled, port 0 maps to the Avalon-ST Input (din) port. When the memory reader interface is enabled, port 1 maps to the Avalon-ST Output (dout) port.
Quoted 6 lines
More information the FPGA video IP component can be acquired from
https://www.altera.com/content/dam/altera-www/global/en_US/pdfs\
/literature/ug/ug_vip.pdfNew bindings:
=============
How are the bindings "new" ? You can omit that title.
Quoted 9 lines
Required properties:
----------------------------
- compatible: "altr,vip-frame-buffer-2.0"
- reg: Physical base address and length of the framebuffer controller's registers.
- altr,max-width: The maximum width of the framebuffer in pixels.
- altr,max-height: The maximum height of the framebuffer in pixels.
- altr,mem-port-width = the bus width of the avalon master port on the frame reader
You need to mention the ports here as they are mandatory. I would move the second paragraph from the introduction to here. You should also refer to the file defining the OF graph DT bindings. You can find examples in other DT bindings.
Quoted 28 lines
Example:
----------------------------+-----+ +-----------+ +------------+ +-----------+ | D | | Frame | | DP/HDMI TX | | DP/HDMI | | D |----->| Buffer II |----->| Controller |----->| Connector | | R | | | | | | | +-----+ +-----------+ +------------+ +-----------+framebuffer@100000280 { compatible = "altr,vip-frame-buffer-2.0"; reg = <0x00000001 0x00000280 0x00000040>; altr,max-width = <1280>; altr,max-height = <720>; altr,mem-port-width = <128>; ports { #address-cells = <1>; #size-cells = <0>; port@1 { reg = <1>; fb_output: endpoint { remote-endpoint = <&dp_encoder_input>; }; }; }; };
Quoted 6 lines
If there is a need to scale the Frame Buffer II IP cores in the pipeline, each node would have its own node, connected through ports and endpoints.
hdmi-encoder@......... { compatible = "altr,hdmi-tx-16.0";
This was just an example, please use the real compatible string of the HDMI controller (and please submit DT bindings for the HDMI controller :-)). Please also fill the reg property with values from a real example.
Quoted 33 lines
reg = <.....>; /* Other IP-specific properties here */ ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; hdmi_tx_input: endpoint { remote-endpoint = <&fb_output>; }; }; port@1 { reg = <1>; hdmi_tx_output: endpoint { remote-endpoint = <&hdmi_conn_input>; }; }; }; };hdmi-connector@0 { compatible = "hdmi-connector"; type = "a"; port { hdmi_conn_input: endpoint { remote-endpoint = <&hdmi_tx_output>; }; }; };
Signature · 8 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Laurent Thanks. my replies are below
Quoted 39 lines · Laurent Pinchart
Hi Hean Loong,
(CC'ing dri-devel again as I noticed it wasn't CC'ed anymore)
Quoted 6 lines · Hean Loong
Hi Laurent,
Thanks for the comments, I drafted a copy of the DT bindings based on
your recommendations and inputs. I inserted the changes below the previous comments.[snip]
Quoted 26 lines
Intel Video and Image Processing(VIP) Frame Buffer II bindings
Supported hardware: Intel FPGA SoC Arria10 and above with display port
IPThe Video Frame Buffer II in Video Image Processing (VIP) suite is an IP
core that interfaces between system memory and Avalon-ST video ports. The IP
core can be configured to support the memory reader (from memory to Avalon-
ST) and/or memory writer (from Avalon-ST to memory) interfaces.Connections between the Frame Buffer II and other video IP cores in the
system are modelled using the OF graph DT bindings. The Frame Buffer II node
has up to two OF graph ports. When the memory writer interface is enabled,
port 0 maps to the Avalon-ST Input (din) port. When the memory reader
interface is enabled, port 1 maps to the Avalon-ST Output (dout) port.
Quoted 8 lines
Quoted 6 lines
More information the FPGA video IP component can be acquired from
https://www.altera.com/content/dam/altera-www/global/en_US/pdfs\
/literature/ug/ug_vip.pdfNew bindings:
=============How are the bindings "new" ? You can omit that title.
Noted.
Quoted 11 lines
Quoted 11 lines
Required properties:
----------------------------
- compatible: "altr,vip-frame-buffer-2.0"
- reg: Physical base address and length of the framebuffer controller's
registers.
- altr,max-width: The maximum width of the framebuffer in pixels.
- altr,max-height: The maximum height of the framebuffer in pixels.
- altr,mem-port-width = the bus width of the avalon master port on the frame reader
Quoted 8 lines
You need to mention the ports here as they are mandatory. I would move the
second paragraph from the introduction to here. You should also refer to the
file defining the OF graph DT bindings. You can find examples in other DT
bindings.
Noted
Quoted 34 lines
Quoted 34 lines
Example:
----------------------------+-----+ +-----------+ +------------+ +-----------+ | D | | Frame | | DP/HDMI TX | | DP/HDMI | | D |----->| Buffer II |----->| Controller |----->| Connector | | R | | | | | | | +-----+ +-----------+ +------------+ +-----------+framebuffer@100000280 {
compatible = "altr,vip-frame-buffer-2.0";
reg = <0x000000010x000002800x00000040>;
altr,max-width = <1280>;
altr,max-height = <720>;
altr,mem-port-width = <128>;ports {
#address-cells = <1>;
#size-cells = <0>;port@1 {
reg = <1>;
fb_output: endpoint {
remote-endpoint =
<&dp_encoder_input>;
};
};
};
};If there is a need to scale the Frame Buffer II IP cores in the pipeline, each node would have its own node, connected through ports and endpoints.
Quoted 8 lines
Quoted 2 lines
hdmi-encoder@......... {
compatible = "altr,hdmi-tx-16.0";This was just an example, please use the real compatible string of the HDMI
controller (and please submit DT bindings for the HDMI controller :- )). Please
also fill the reg property with values from a real example.
I was trying to get overall picture to be correct before I proceed further. We currently do not have support for HDMI therefore I would omit this until a HDMI IP is available. The only values are available for the Display Port.
Quoted 29 lines
Quoted 29 lines
reg = <.....>;
/* Other IP-specific properties here */ports {
#address-cells = <1>;
#size-cells = <0>;port@0 {
reg = <0>;
hdmi_tx_input: endpoint { remote-endpoint = <&fb_output>; };
};port@1 {
reg = <1>;
hdmi_tx_output: endpoint { remote-endpoint = <&hdmi_conn_input>;
};
};
};
};hdmi-connector@0 {
compatible = "hdmi-connector";
type = "a";
Quoted 6 lines
Quoted 6 lines
port {
hdmi_conn_input: endpoint { remote-endpoint = <&hdmi_tx_output>; };
};
};
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Hean Loong,
Quoted 95 lines · Hean Loong
Quoted 28 lines · Laurent Pinchart
Quoted 5 lines · Hean Loong
Hi Laurent,
Thanks for the comments, I drafted a copy of the DT bindings based on your recommendations and inputs. I inserted the changes below the previous comments.[snip]
Quoted 19 lines
Intel Video and Image Processing(VIP) Frame Buffer II bindings
Supported hardware: Intel FPGA SoC Arria10 and above with display portIP
The Video Frame Buffer II in Video Image Processing (VIP) suite is an IP core that interfaces between system memory and Avalon-ST video ports. The IP core can be configured to support the memory reader (from memory to Avalon-ST) and/or memory writer (from Avalon-ST to memory) interfaces.
Connections between the Frame Buffer II and other video IP cores in the system are modelled using the OF graph DT bindings. The Frame Buffer II node has up to two OF graph ports. When the memory writer interface is enabled, port 0 maps to the Avalon-ST Input (din) port. When the memory reader interface is enabled, port 1 maps to the Avalon- ST Output (dout) port.
Quoted 8 lines
Quoted 6 lines
More information the FPGA video IP component can be acquired from
https://www.altera.com/content/dam/altera-www/global/en_US/pdfs\
/literature/ug/ug_vip.pdfNew bindings:
=============How are the bindings "new" ? You can omit that title.
Noted.
Quoted 11 lines
Quoted 10 lines
Required properties:
----------------------------
- compatible: "altr,vip-frame-buffer-2.0"
- reg: Physical base address and length of the framebuffer controller's registers.
- altr,max-width: The maximum width of the framebuffer in pixels.
- altr,max-height: The maximum height of the framebuffer in pixels.
- altr,mem-port-width = the bus width of the avalon master port on the frame readerQuoted 4 lines
You need to mention the ports here as they are mandatory. I would move the second paragraph from the introduction to here. You should also refer to the file defining the OF graph DT bindings. You can find examples in other DT bindings.
Noted
Quoted 37 lines
Quoted 36 lines
Example:
----------------------------+-----+ +-----------+ +------------+ +-----------+ | D | | Frame | | DP/HDMI TX | | DP/HDMI | | D |----->| Buffer II |----->| Controller |----->| Connector | | R | | | | | | | +-----+ +-----------+ +------------+ +-----------+framebuffer@100000280 { compatible = "altr,vip-frame-buffer-2.0"; reg = <0x00000001 0x00000280 0x00000040>; altr,max-width = <1280>; altr,max-height = <720>; altr,mem-port-width = <128>; ports { #address-cells = <1>; #size-cells = <0>; port@1 { reg = <1>; fb_output: endpoint { remote-endpoint = <&dp_encoder_input>; }; }; }; };If there is a need to scale the Frame Buffer II IP cores in the pipeline, each node would have its own node, connected through ports and endpoints.
hdmi-encoder@......... { compatible = "altr,hdmi-tx-16.0";
Quoted 8 lines
Quoted 3 lines
This was just an example, please use the real compatible string of the HDMI controller (and please submit DT bindings for the HDMI controller :-)). Please also fill the reg property with values from a real example.
I was trying to get overall picture to be correct before I proceed further. We currently do not have support for HDMI therefore I would omit this until a HDMI IP is available. The only values are available for the Display Port.
No problem. In that case the best option is to replace the HDMI encoder with a DisplayPort encoder in the example.
Quoted 34 lines
Quoted 34 lines
Quoted 34 lines
reg = <.....>; /* Other IP-specific properties here */ ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; hdmi_tx_input: endpoint { remote-endpoint = <&fb_output>; }; }; port@1 { reg = <1>; hdmi_tx_output: endpoint { remote-endpoint = <&hdmi_conn_input>; }; }; }; };hdmi-connector@0 { compatible = "hdmi-connector"; type = "a"; port { hdmi_conn_input: endpoint { remote-endpoint = <&hdmi_tx_output>; }; }; };
Signature · 8 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Laurent,
I removed the examples for the HDMI in the draft below. The connections between the VIP and Display Port IP or any display connector are determined by HW logic. There are currently no SW defined encoders or connectors that is connected to the AVALON-ST other than the Intel VIP Frame Buffer II. Therefore there are no examples for the Display Port encoder and connector.
Quoted 136 lines · Laurent Pinchart
Hi Hean Loong,
Quoted 127 lines · Hean Loong
Quoted 48 lines · Laurent Pinchart
Quoted 8 lines · Hean Loong
Hi Laurent,
Thanks for the comments, I drafted a copy of the DT bindings based
on your recommendations and inputs. I inserted the changes below the
previous comments.[snip]
Quoted 36 lines
Intel Video and Image Processing(VIP) Frame Buffer II bindings
Supported hardware: Intel FPGA SoC Arria10 and above with display
portIPThe Video Frame Buffer II in Video Image Processing (VIP) suite is
an IP core that interfaces between system memory and Avalon-ST video
ports. The IP core can be configured to support the memory reader (from
memory to Avalon-ST) and/or memory writer (from Avalon-ST to memory)
interfaces.Connections between the Frame Buffer II and other video IP cores in
the system are modelled using the OF graph DT bindings. The Frame
Buffer II node has up to two OF graph ports. When the memory writer
interface is enabled, port 0 maps to the Avalon-ST Input (din) port.
When the memory reader interface is enabled, port 1 maps to the Avalon-
ST Output (dout) port.More information the FPGA video IP component can be acquired from
https://www.altera.com/content/dam/altera-www/global/en_US/pdfs
\
/literature/ug/ug_vip.pdfQuoted 3 lines
Quoted 2 lines
New bindings:
=============How are the bindings "new" ? You can omit that title.
Noted.
Quoted 15 lines
Quoted 15 lines
Required properties:
----------------------------
- compatible: "altr,vip-frame-buffer-2.0"
- reg: Physical base address and length of the framebuffer controller's registers.
- altr,max-width: The maximum width of the framebuffer in pixels.
- altr,max-height: The maximum height of the framebuffer in pixels.
- altr,mem-port-width = the bus width of the avalon master port
on the frame readerQuoted 6 lines
You need to mention the ports here as they are mandatory. I would move the second paragraph from the introduction to here. You should also
refer to the file defining the OF graph DT bindings. You can find examples
in other DT bindings.Noted
Quoted 41 lines
Quoted 41 lines
Example:
----------------------------
+-----+ +-----------+ +------------+ +---------
--+| D | | Frame | | DP/HDMI TX | | DP/HDMI | | D |----->| Buffer II |----->| Controller |----->| Connector | | R | | | | | | | +-----+ +-----------+ +------------+ +-----------+
framebuffer@100000280 {
compatible = "altr,vip-frame-buffer-2.0";
reg = <0x000000010x000002800x00000040>;
altr,max-width = <1280>;
altr,max-height = <720>;
altr,mem-port-width = <128>;ports {
#address-cells = <1>;
#size-cells = <0>;port@1 {
reg = <1>;
fb_output: endpoint {
remote-endpoint =
<&dp_encoder_input>;
};
};
};
};If there is a need to scale the Frame Buffer II IP cores in the pipeline, each node would have its own node, connected through ports and endpoints.
Quoted 8 lines
Quoted 2 lines
hdmi-encoder@......... {
compatible = "altr,hdmi-tx-16.0";This was just an example, please use the real compatible string of
the HDMI controller (and please submit DT bindings for the HDMI controller
:-)). Please also fill the reg property with values from a real example.Quoted 6 lines
I was trying to get overall picture to be correct before I proceed further. We currently do not have support for HDMI therefore I would
omit this until a HDMI IP is available. The only values are available
for the Display Port.
Quoted 42 lines
No problem. In that case the best option is to replace the HDMI encoder with a
DisplayPort encoder in the example.Quoted 37 lines
Quoted 37 lines
Quoted 37 lines
reg = <.....>;
/* Other IP-specific properties here */ports {
#address-cells = <1>;
#size-cells = <0>;port@0 {
reg = <0>;
hdmi_tx_input: endpoint { remote-endpoint = <&fb_output>; };
};port@1 {
reg = <1>;
hdmi_tx_output: endpoint { remote-endpoint = <&hdmi_conn_input>;
};
};
};
};hdmi-connector@0 {
compatible = "hdmi-connector";
type = "a";port {
hdmi_conn_input: endpoint { remote-endpoint = <&hdmi_tx_output>; };
};
};
Intel Video and Image Processing(VIP) Frame Buffer II bindings
Supported hardware: Intel FPGA SoC Arria10 and above with display port IP
The Video Frame Buffer II in Video Image Processing (VIP) suite is an IP core
that interfaces between system memory and Avalon-ST video ports. The IP core
can be configured to support the memory reader (from memory to Avalon- ST)
and/or memory writer (from Avalon-ST to memory) interfaces.
More information the FPGA video IP component can be acquired from
https://www.altera.com/content/dam/altera-www/global/en_US/pdfs\
/literature/ug/ug_vip.pdf
DT-Bindings:
=============
Required properties:
----------------------------
- compatible: "altr,vip-frame-buffer-2.0"
- reg: Physical base address and length of the framebuffer controller's registers.
- altr,max-width: The maximum width of the framebuffer in pixels.
- altr,max-height: The maximum height of the framebuffer in pixels.
- altr,mem-port-width = the bus width of the avalon master port on the frame reader
Connections between the Frame Buffer II and other video IP cores in the system
are modelled using the OF graph DT bindings. The Frame Buffer II node has up
to two OF graph ports. When the memory writer interface is enabled, port 0
maps to the Avalon-ST Input (din) port. When the memory reader interface is
enabled, port 1 maps to the Avalon-ST Output (dout) port.
If there is a need to scale the Frame Buffer II IP cores in the pipeline, each node would have its own node, connected through ports and endpoints.
Currently only a Display Port IP input endpoint is supported.
Port 0 Port1
---------------------------------------------------------
ARRIA10 AVALON_ST (DIN) AVALON_ST (DOUT)
Example:
----------------------------
+-----+ +-----------+ +------------+ +-----------+ | D | | Frame | | DP/HDMI TX | | DP/HDMI | | D |----->| Buffer II |----->| Controller |----->| Connector | | R | | | | | | | +-----+ +-----------+ +------------+ +-----------+
framebuffer@100000280 {
compatible = "altr,vip-frame-buffer-2.0";
reg = <0x00000001 0x00000280 0x00000040>;
altr,max-width = <1280>;
altr,max-height = <720>;
altr,mem-port-width = <128>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
fb_output: endpoint { remote-endpoint = <&dp_encoder_input>; };
};
};
};
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Hean Loong,
Quoted 8 lines · Hean Loong
Hi Laurent,
I removed the examples for the HDMI in the draft below. The connections between the VIP and Display Port IP or any display connector are determined by HW logic. There are currently no SW defined encoders or connectors that is connected to the AVALON-ST other than the Intel VIP Frame Buffer II. Therefore there are no examples for the Display Port encoder and connector.
But there must be an encoder, even if its default configuration makes it usable without a softwarer driver at the moment. As the encoder is there in hardware, it should be described in DT.
Signature · 8 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Laurent,
The encoder resides as a hardware logic as part of the FPGA fabric. The software driver has no direct access to the encoder. The VIP is created in such a way that the software i.e Linux Driver only streams data through the VIP. What happens beyond the VIP Frame buffer directly boils down to the FGPA logic design that is provided in the dev kit.
In this example the hardware A10 dev kit has a Display Port IP attached to the VIP therefore from the drivers perspective we only know that the endpoint is a Display Port
The system design uses the VIP FRame Buffer II as the default display interface for various FPGA display IP (HDMI/DP). The FPGA bridge design only provides the drivers to access the VIP.
Note there is also a soft Processor running on the FPGA that drives the video signal transceivers for the Display Port or any other display IP.
The encoder used for the Intel FPGA VIP are hardware based therefore the video device that is concerned here is the VIP Frame Buffer device which streams data to whatever FPGA display hardware.
To describe the hardware encoder do I need to create it as part of the device tree node or a explanation of it would suffice ?
Quoted 16 lines · Laurent Pinchart
Hi Hean Loong,
Quoted 13 lines · Hean Loong
Hi Laurent,
I removed the examples for the HDMI in the draft below. The connections
between the VIP and Display Port IP or any display connector are determined by HW logic. There are currently no SW defined encoders or
connectors that is connected to the AVALON-ST other than the Intel VIP
Frame Buffer II. Therefore there are no examples for the Display Port
encoder and connector.
Quoted 6 lines
But there must be an encoder, even if its default configuration makes it
usable without a softwarer driver at the moment. As the encoder is there in
hardware, it should be described in DT.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hello Hean Loon,
Quoted 20 lines · Hean Loong
Hi Laurent,
The encoder resides as a hardware logic as part of the FPGA fabric. The software driver has no direct access to the encoder. The VIP is created in such a way that the software i.e Linux Driver only streams data through the VIP. What happens beyond the VIP Frame buffer directly boils down to the FGPA logic design that is provided in the dev kit.
In this example the hardware A10 dev kit has a Display Port IP attached to the VIP therefore from the drivers perspective we only know that the endpoint is a Display Port
The system design uses the VIP FRame Buffer II as the default display interface for various FPGA display IP (HDMI/DP). The FPGA bridge design only provides the drivers to access the VIP.
Note there is also a soft Processor running on the FPGA that drives the video signal transceivers for the Display Port or any other display IP.
Quoted 6 lines
The encoder used for the Intel FPGA VIP are hardware based therefore the video device that is concerned here is the VIP Frame Buffer device which streams data to whatever FPGA display hardware.
To describe the hardware encoder do I need to create it as part of the device tree node or a explanation of it would suffice ?
Regardless of whether the display port encoder is a soft IP or a hard IP, it should be described in DT as it is there. Obviously it should not be controlled by the VIP Frame Buffer II driver, but I expect at least some of the encoders to have registers exposed to the ARM processor running Linux, so you will need a device driver for them at some point.
Signature · 8 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
In reply to Laurent PinchartHi Laurent,
Quoted 16 lines · Laurent Pinchart
Hi Hean Loong,
Quoted 13 lines · Hean Loong
Hi Laurent,
I removed the examples for the HDMI in the draft below. The connections
between the VIP and Display Port IP or any display connector are determined by HW logic. There are currently no SW defined encoders or
connectors that is connected to the AVALON-ST other than the Intel VIP
Frame Buffer II. Therefore there are no examples for the Display Port
encoder and connector.
Quoted 6 lines
But there must be an encoder, even if its default configuration makes it
usable without a softwarer driver at the moment. As the encoder is there in
hardware, it should be described in DT.
I attach some links regarding the simple example designs for the Display Port IP
The link below has a example design of how the VIP is built along with the Display Port IP
into the FPGA connected to the DDR RAM accessed by ARM or any controller. Please look at the
Introduction section of the link below
http://www.alterawiki.com/wiki/DisplayPort_Design_Example_14.0_(RX_and_
TX)#DisplayPort_IP_Core
The proposed design in the link above and the design we are implementing are almost the same (FPGA part)
That the Intel(Altera) FPGA VIP is the sole interface for the ARM controller to connect to via memory mapping
on the DDR
Please go to Source Functional Description section in the PDF below. It has information
on how the encoder is built for the FPGA design of the Display Port
https://www.altera.com/ja_JP/pdfs/literature/ug/ug_displayport.pdf
More information on the Display Port IP encoder could be found in the link below.
The Tx Transceiver interface has some information on how the source clocks works in
the FPGA tranceiver
https://www.altera.com/documentation/hco1410462777019.html#hco141046232
3311
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Laurent,
Quoted 55 lines · Hean Loong
Hi Laurent,
Quoted 20 lines · Laurent Pinchart
Hi Hean Loong,
Quoted 4 lines · Hean Loong
Hi Laurent,
Quoted 12 lines
I removed the examples for the HDMI in the draft below. The connections
between the VIP and Display Port IP or any display connector are determined by HW logic. There are currently no SW defined encoders
or
connectors that is connected to the AVALON-ST other than the Intel
VIP
Frame Buffer II. Therefore there are no examples for the Display Port
encoder and connector.Quoted 7 lines
But there must be an encoder, even if its default configuration makes
it
usable without a softwarer driver at the moment. As the encoder is there in
hardware, it should be described in DT.I attach some links regarding the simple example designs for the Display Port IP
The link below has a example design of how the VIP is built along with
the Display Port IP
into the FPGA connected to the DDR RAM accessed by ARM or any controller. Please look at the
Introduction section of the link below
http://www.alterawiki.com/wiki/DisplayPort_Design_Example_14.0_(RX_an
d_
TX)#DisplayPort_IP_CoreThe proposed design in the link above and the design we are implementing are almost the same (FPGA part)
That the Intel(Altera) FPGA VIP is the sole interface for the ARM controller to connect to via memory mapping
on the DDRPlease go to Source Functional Description section in the PDF below. It
has information
on how the encoder is built for the FPGA design of the Display Port
https://www.altera.com/ja_JP/pdfs/literature/ug/ug_displayport.pdf
Quoted 8 lines
More information on the Display Port IP encoder could be found in the link below.
The Tx Transceiver interface has some information on how the source clocks works in
the FPGA tranceiver
https://www.altera.com/documentation/hco1410462777019.html#hco1410462
32
3311
Would the information provided in the above links suffice to explain the relationship between DDR, VIP and Display Port IP ?
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCHv6 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite
Hi Hean Loong,
Quoted 37 lines · Hean Loong
Quoted 36 lines · Hean Loong
Quoted 11 lines · Laurent Pinchart
Quoted 9 lines · Hean Loong
Hi Laurent,
I removed the examples for the HDMI in the draft below. The connections between the VIP and Display Port IP or any display connector are determined by HW logic. There are currently no SW defined encoders or connectors that is connected to the AVALON-ST other than the Intel VIP Frame Buffer II. Therefore there are no examples for the Display Port encoder and connector.
Quoted 3 lines
But there must be an encoder, even if its default configuration makes it usable without a softwarer driver at the moment. As the encoder is there in hardware, it should be described in DT.
I attach some links regarding the simple example designs for the Display Port IP
The link below has a example design of how the VIP is built along with the Display Port IP into the FPGA connected to the DDR RAM accessed by ARM or any controller. Please look at the Introduction section of the link below
http://www.alterawiki.com/wiki/DisplayPort_Design_Example_14.0_(RX_an
d_TX)#DisplayPort_IP_CoreThe proposed design in the link above and the design we are implementing are almost the same (FPGA part)
That the Intel(Altera) FPGA VIP is the sole interface for the ARM controller to connect to via memory mapping on the DDRPlease go to Source Functional Description section in the PDF below. It has information on how the encoder is built for the FPGA design of the Display Port
https://www.altera.com/ja_JP/pdfs/literature/ug/ug_displayport.pdf
Quoted 8 lines
Quoted 5 lines
More information on the Display Port IP encoder could be found in the link below. The Tx Transceiver interface has some information on how the source clocks works in the FPGA tranceiver
https://www.altera.com/documentation/hco1410462777019.html#hco1410462
323311Would the information provided in the above links suffice to explain the relationship between DDR, VIP and Display Port IP ?
It does, thank you, and sorry for the late reply.
The documents you've provided show that the Display Port transmitter is an IP core in the FPGA, connected to the VIP output, and configurable from the ARM side through memory-mapped registers. It should thus be modelled in DT with a separate DT node, and connections should be modelled using the OF graph DT bindings, like you've done in the latest version of your patch series.
The Display Port transmitter should also have DT bindings, and a Linux kernel driver, but that can be submitted in a separate patch series.
Signature · 8 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel