Display Resolution Configuration
This section provides information to help you configure display resolution. You can modify the device tree (DT), specify configuration properties in a .dtsi file, or pass arguments to the kernel boot.
Adding EDID Blob
You can modify the DT with a custom extended display identification data structure (EDID). To use a custom EDID, add the nvidia,edid property under the hdmi-display node in this file:
tegra186-vcm31-p2382-disp.dtsi
tegra186-vcm31-<p3407|p2379>-disp.dtsi
This method does not currently support Extended EDID.
Example
hdmi-display {
nvidia,edid = [00 ff ff ff ff ff ff 00 04 21 00 00 00 00 00 00
01 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e9];
};
Alternative Methods
There are alternative methods for configuring display resolution, as described in the following sections.
Specifying Mode in Device Tree
In this alternative, add a display-timings property under the hdmi-display node.
Example
hdmi-display {
status = "okay";
compatible = "hdmi,display";
display-timings {
640x480-24 {
clock-frequency = <25200000>;
hactive = <640>;
vactive = <480>;
hfront-porch = <16>;
hback-porch = <48>;
hsync-len = <96>;
vfront-porch = <10>;
vback-porch = <33>;
vsync-len = <2>;
nvidia,h-ref-to-sync = <1>;
nvidia,v-ref-to-sync = <1>;
};
};
};