Skip to content

Commit 30285db

Browse files
BrossKuoasus-leslieyu
authored andcommitted
HDMI: fix resolution compatibility
fix follow resolution blank screen on some monitor 640x480@75@72.81 switch to 720x480@60 on asus vz229h 640x480@75@66.67 switch to 720x480@60 oon asus vk278 Signed-off-by: bross1_kuo <bross1_kuo@asus.com> Change-Id: I37864f7f3c0e7b099367974b25ecfd04e3a989a4
1 parent 5b57ec6 commit 30285db

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

drivers/clk/rockchip/clk-pll.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,6 @@ static const struct rockchip_pll_rate_table *rockchip_get_pll_settings(
362362
continue;
363363
if( (rate == 28320000) && asus_vz229h_monitor)
364364
continue;
365-
if( (rate == 31500000) && (rate_table[i].nr == 1) && !asus_vz229h_monitor)
366-
continue;
367365
if((rate == 33900000) && !dwe2100_panel)
368366
continue;
369367
if (rate == rate_table[i].rate) {

drivers/clk/rockchip/clk-rk3288.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ static struct rockchip_pll_rate_table rk3288_pll_rates[] = {
131131
RK3066_PLL_RATE( 40000000, 3, 80, 16),//800*600@60
132132
RK3066_PLL_RATE( 36000000, 1, 24, 16),//800*600
133133
RK3066_PLL_RATE( 35500000, 3, 71, 16),//?
134-
RK3066_PLL_RATE( 31500000, 3, 146, 16),//640*480@75
135-
RK3066_PLL_RATE( 30240000, 25, 504, 16),//650*480
134+
RK3066_PLL_RATE( 31500000, 1, 84, 16),//640*480@75 @72.81
135+
RK3066_PLL_RATE( 30240000, 1, 126, 10),//640*480@66.67
136136
RK3066_PLL_RATE( 28320000, 25, 472, 16),//720*400@70
137137
{ /* sentinel */ },
138138
};
@@ -160,7 +160,6 @@ static struct rockchip_pll_rate_table rk3288_npll_rates[] = {
160160
RK3066_PLL_RATE_NB(78750000, 1, 210, 16, 32),//1024*768@75
161161
RK3066_PLL_RATE_NB(74250000, 4, 198, 16, 32),
162162
RK3066_PLL_RATE_NB(33900000, 5, 226, 16, 32),//Waveshare DWE2100 800x480@60
163-
RK3066_PLL_RATE_NB(31500000, 1, 21, 16, 32),//640x480@75 @72.81 ASUS VZ229H
164163
RK3066_PLL_RATE_NB(33000000, 1, 22, 16, 32),//800x480@67
165164
RK3066_PLL_RATE_NB(27000000, 1, 72, 16, 32),//720x576@50
166165
};

0 commit comments

Comments
 (0)