The sunxi video PLL-s can unfortunately not make any random clock encountered
in EDID info. So hdmi_edid.c has a table to override the pixelclocks in some
EDID provided modes to a value which the PLL-s can actually make close to the
real value.
This commit adds the preferred EDID mode from 2 hdmi projectors to this
table, so that sunxi-hdmi will work properly with these projectors.
Reported-by: Jonathan Liu <[email protected]>
Tested-by: Jonathan Liu <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
---
drivers/video/sunxi/hdmi/hdmi_edid.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/video/sunxi/hdmi/hdmi_edid.c
b/drivers/video/sunxi/hdmi/hdmi_edid.c
index 226db0b..00cf50d 100644
--- a/drivers/video/sunxi/hdmi/hdmi_edid.c
+++ b/drivers/video/sunxi/hdmi/hdmi_edid.c
@@ -77,8 +77,10 @@ struct pclk_override {
};
struct pclk_override pclk_override[] = {
- /* VIC PCLK AVI_PR INPUTX INPUTY HT HBP HFP HPSW VT VBP VFP VPSW
I HS VS override */
+ /* VIC PCLK AVI_PR INPUTX INPUTY HT HBP HFP HPSW VT VBP
VFP VPSW I HS VS override */
{ { HDMI_EDID, 146250000, 0, 1680, 1050, 2240, 456, 104, 176, 1089, 36,
3, 6, 0, 0, 1 }, 146000000 },
+ { { HDMI_EDID, 83500000, 0, 1280, 800, 1680, 328, 72, 128, 831, 28,
3, 6, 0, 0, 1 }, 83250000 },
+ { { HDMI_EDID, 83500000, 0, 1280, 800, 1680, 328, 72, 128, 831, 21,
10, 6, 0, 1, 1 }, 83250000 },
{ { 0, }, -1 }
};