summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Emmons <Chris.Emmons@arm.com>2014-05-09 18:58:46 -0400
committerChris Emmons <Chris.Emmons@arm.com>2014-05-09 18:58:46 -0400
commita3306d0d5e4c83fcce7f7d5915a2a16a99d21744 (patch)
treee37175e57748dc74e34550aeb2e88707d75aaa9a /src
parent73dc89e54283e46cee17ca2ae41867aac05b95e9 (diff)
downloadgem5-a3306d0d5e4c83fcce7f7d5915a2a16a99d21744.tar.xz
dev: Set HDLCD default pixel clock for 1080p @ 60Hz
This patch changes the default pixel clock to effectively generate 1080p resolution at 60 frames per second. It is dependent upon the kernel device tree file using the specified resolution / display string in the comments.
Diffstat (limited to 'src')
-rw-r--r--src/dev/arm/RealView.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 3c9c22ecc..1c4fa0f56 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -165,9 +165,12 @@ class Pl111(AmbaDmaDevice):
class HDLcd(AmbaDmaDevice):
type = 'HDLcd'
cxx_header = "dev/arm/hdlcd.hh"
- pixel_clock = Param.Clock('65MHz', "Clock frequency of the pixel clock "
- "(i.e. PXLREFCLK / OSCCLK 5; 23.75MHz "
- "default up to 165MHz)")
+ # For reference, 1024x768MR-16@60 ~= 56 MHz
+ # 1920x1080MR-16@60 ~= 137 MHz
+ # 3840x2160MR-16@60 ~= 533 MHz
+ # Match against the resolution selected in the Linux DTS/DTB file.
+ pixel_clock = Param.Clock('137MHz', "Clock frequency of the pixel clock "
+ "(i.e. PXLREFCLK / OSCCLK 5")
vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer "
"display")
amba_id = 0x00141000