mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
drm: bind hdmitx and add dmaheap for s5 [1/1]
PD#SWPL-108800 Problem: not bind hdmitx and no dmaheap Solution: bind tx and add dmaheap Verify: s5 Change-Id: Icdc30e6c173ce950179c2cd0e3f63cb1596cc648 Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
This commit is contained in:
committed by
pengzhao.liu
parent
b6ce3c0513
commit
bf3c8f8bba
@@ -2074,6 +2074,17 @@
|
||||
/* standards.ieee.org/develop/regauth/oui/oui.txt */
|
||||
vendor_id = <0x000000>;
|
||||
};
|
||||
|
||||
ports {
|
||||
port {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
hdmitx_to_drm: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
aocec: aocec {
|
||||
|
||||
@@ -159,15 +159,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8400000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -187,6 +186,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -159,15 +159,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x6 round up 4M align , tmp solution for Android R*/
|
||||
size = <0x0 0xd000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -187,6 +186,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -159,15 +159,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8400000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
/* secure ion for gpu,advice size is 0x1c800000 */
|
||||
@@ -186,6 +185,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -159,15 +159,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8400000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -187,6 +186,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -159,15 +159,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x6 round up 4M align , tmp solution for Android R*/
|
||||
size = <0x0 0xd000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -187,6 +186,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -159,15 +159,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8400000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
/* secure ion for gpu,advice size is 0x1c800000 */
|
||||
@@ -186,6 +185,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -158,15 +158,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -186,6 +185,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -158,15 +158,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -186,6 +185,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -158,15 +158,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -186,6 +185,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
@@ -158,15 +158,14 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x5000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
ion_fb_reserved:linux,ion-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 3840x2160x4x4 round up 4M align */
|
||||
size = <0x0 0x8000000>;
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
|
||||
};
|
||||
@@ -186,6 +185,21 @@
|
||||
//no-map;
|
||||
};
|
||||
|
||||
dmaheap_cma_reserved:heap-gfx {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 4M */
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
dmaheap_fb_reserved:heap-fb {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 4k STB androidT size 212M */
|
||||
size = <0x0 0xd400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
/* vdin0 CMA pool */
|
||||
/*vdin0_cma_reserved:linux,vdin0_cma {*/
|
||||
/* compatible = "shared-dma-pool";*/
|
||||
|
||||
Reference in New Issue
Block a user