[PATCH v7 2/7] MIPS: Loongson: ls7a-pch.dtsi: add has_dedicated_vram property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: suijingfeng <suijingfeng@xxxxxxxxxxx>

The LS7A1000 bridge chip is equipped with a dedicated video memory
which is typically 64MB or more. This patch add has_dedicated_vram
property in the display controller device node to reflict this.

Signed-off-by: suijingfeng <suijingfeng@xxxxxxxxxxx>
Signed-off-by: Sui Jingfeng <15330273260@xxxxxx>
---
 arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
index 2f45fce2cdc4..37a7a0aefcf1 100644
--- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
+++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
@@ -160,7 +160,7 @@ gpu@6,0 {
 				interrupt-parent = <&pic>;
 			};
 
-			dc@6,1 {
+			lsdc: dc@6,1 {
 				compatible = "pci0014,7a06.0",
 						   "pci0014,7a06",
 						   "pciclass030000",
@@ -169,6 +169,7 @@ dc@6,1 {
 				reg = <0x3100 0x0 0x0 0x0 0x0>;
 				interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
 				interrupt-parent = <&pic>;
+				has_dedicated_vram;
 			};
 
 			hda@7,0 {
-- 
2.25.1




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux