Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/37936 )

Change subject: dev: Set the "status" field of the HDLCD device tree node to "ok".
......................................................................

dev: Set the "status" field of the HDLCD device tree node to "ok".

This makes the kernel enable the device.

Change-Id: I2c237b9ba038c5128e2a7e020587ac46ef7b4abd
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37936
Reviewed-by: Giacomo Travaglini <[email protected]>
Maintainer: Giacomo Travaglini <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/dev/arm/RealView.py
1 file changed, 1 insertion(+), 5 deletions(-)

Approvals:
  Giacomo Travaglini: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 0b5fdda..8969bc0 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -531,7 +531,7 @@
pixel_chunk = Param.Unsigned(32, "Number of pixels to handle in one batch")
     virt_refresh_rate = Param.Frequency("20Hz", "Frame refresh rate "
                                         "in KVM mode")
-    _status = "disabled"
+    _status = "ok"

     encoder = Param.Display(Display1080p(), "Display encoder")

@@ -563,10 +563,6 @@
node.append(FdtPropertyWords("clocks", state.phandle(self.pxl_clk)))
         node.append(FdtPropertyStrings("clock-names", ["pxlclk"]))

-        # This driver is disabled by default since the required DT nodes
- # haven't been standardized yet. To use it, override this status to - # "ok" and add the display configuration nodes required by the driver.
-        # See the driver for more information.
         node.append(FdtPropertyStrings("status", [ self._status ]))

         self.addIommuProperty(state, node)

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/37936
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I2c237b9ba038c5128e2a7e020587ac46ef7b4abd
Gerrit-Change-Number: 37936
Gerrit-PatchSet: 18
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to