Advertisement
Guest User

Untitled

a guest
Feb 18th, 2013
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.58 KB | None | 0 0
  1. diff --git a/drivers/video/msm/ebi2_tovis.c b/drivers/video/msm/ebi2_tovis.c
  2. index bd3ff9d..1fa6b12 100644
  3. --- a/drivers/video/msm/ebi2_tovis.c
  4. +++ b/drivers/video/msm/ebi2_tovis.c
  5. @@ -42,6 +42,9 @@
  6. #define QVGA_WIDTH 240
  7. #define QVGA_HEIGHT 320
  8.  
  9. +#define GPIO_LCD_TID 126
  10. +
  11. +
  12. static void *DISP_CMD_PORT;
  13. static void *DISP_DATA_PORT;
  14.  
  15. @@ -93,6 +96,7 @@ static unsigned int mactl = 0x48;
  16. static unsigned int mactl = 0x98;
  17. #endif
  18.  
  19. +
  20. #ifdef TUNING_INITCODE
  21. module_param(te_lines, uint, 0644);
  22. module_param(mactl, uint, 0644);
  23. @@ -121,11 +125,6 @@ static void msm_fb_ebi2_power_save(int on)
  24. pdata->lcd_power_save(on);
  25. }
  26.  
  27. -/* LGE_CHANGE_S: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  28. -extern int Is_Backlight_Set ;
  29. -extern int bu61800_force_set(void);
  30. -/* LGE_CHANGE_E: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  31. -
  32. static int ilitek_qvga_disp_off(struct platform_device *pdev)
  33. {
  34.  
  35. @@ -153,19 +152,12 @@ static int ilitek_qvga_disp_off(struct platform_device *pdev)
  36. #if 1
  37. if(pdata->gpio)
  38. gpio_set_value(pdata->gpio, 0);
  39. -
  40. #endif
  41. /* LGE_CHANGE_E: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  42.  
  43. msm_fb_ebi2_power_save(0);
  44. display_on = FALSE;
  45.  
  46. - if(Is_Backlight_Set)
  47. - {
  48. - msleep(50);
  49. - bu61800_force_set(); //force the BL off
  50. - }
  51. -
  52. return 0;
  53. }
  54.  
  55. @@ -178,6 +170,198 @@ static void ilitek_qvga_disp_set_rect(int x, int y, int xres, int yres) // xres
  56. EBI2_WRITE16C(DISP_CMD_PORT,0x2c); // Write memory start
  57. }
  58.  
  59. +
  60. +
  61. +static void do_AUO_init(struct platform_device *pdev)
  62. +{
  63. + int x,y;
  64. + EBI2_WRITE16C(DISP_CMD_PORT,0x11); // Exit Sleep
  65. + msleep(120);
  66. +
  67. + EBI2_WRITE16C(DISP_CMD_PORT, 0xb0);
  68. + EBI2_WRITE16D(DISP_DATA_PORT,0x3f);
  69. + EBI2_WRITE16D(DISP_DATA_PORT,0x3f);
  70. +
  71. + EBI2_WRITE16C(DISP_CMD_PORT, 0xb3);
  72. + EBI2_WRITE16D(DISP_DATA_PORT,0x02);
  73. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  74. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  75. + EBI2_WRITE16D(DISP_DATA_PORT,0x31);
  76. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  77. +
  78. + EBI2_WRITE16C(DISP_CMD_PORT, 0xb4);
  79. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  80. +
  81. + EBI2_WRITE16C(DISP_CMD_PORT, 0xc0);
  82. + EBI2_WRITE16D(DISP_DATA_PORT,0x33);
  83. + EBI2_WRITE16D(DISP_DATA_PORT,0x4f);
  84. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  85. + EBI2_WRITE16D(DISP_DATA_PORT,0x10);
  86. + EBI2_WRITE16D(DISP_DATA_PORT,0xa0);
  87. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  88. + EBI2_WRITE16D(DISP_DATA_PORT,0x01);
  89. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  90. +
  91. +
  92. + EBI2_WRITE16C(DISP_CMD_PORT, 0xc1);
  93. + EBI2_WRITE16D(DISP_DATA_PORT,0x01);
  94. + EBI2_WRITE16D(DISP_DATA_PORT,0x02);
  95. + EBI2_WRITE16D(DISP_DATA_PORT,0x1a);
  96. + EBI2_WRITE16D(DISP_DATA_PORT,0x60);
  97. + EBI2_WRITE16D(DISP_DATA_PORT,0x60);
  98. + msleep(25);
  99. +
  100. + EBI2_WRITE16C(DISP_CMD_PORT, 0xc3);
  101. + EBI2_WRITE16D(DISP_DATA_PORT,0x01);
  102. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  103. + EBI2_WRITE16D(DISP_DATA_PORT,0x28);
  104. + EBI2_WRITE16D(DISP_DATA_PORT,0x08);
  105. + EBI2_WRITE16D(DISP_DATA_PORT,0x08);
  106. +
  107. + msleep(25);
  108. +
  109. + EBI2_WRITE16C(DISP_CMD_PORT, 0xc4);
  110. + EBI2_WRITE16D(DISP_DATA_PORT,0x11);
  111. + EBI2_WRITE16D(DISP_DATA_PORT,0x01);
  112. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  113. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  114. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  115. +
  116. + //Gamma B
  117. + EBI2_WRITE16C(DISP_CMD_PORT, 0xc8); //1
  118. + EBI2_WRITE16D(DISP_DATA_PORT,0x07); //2
  119. + EBI2_WRITE16D(DISP_DATA_PORT,0x19); //3
  120. + EBI2_WRITE16D(DISP_DATA_PORT,0x18); //4
  121. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); //5
  122. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); //6
  123. + EBI2_WRITE16D(DISP_DATA_PORT,0x0b); //7
  124. + EBI2_WRITE16D(DISP_DATA_PORT,0x04); //8
  125. + EBI2_WRITE16D(DISP_DATA_PORT,0x03); //9
  126. + EBI2_WRITE16D(DISP_DATA_PORT,0x09); //10
  127. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); //11
  128. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); //12
  129. + EBI2_WRITE16D(DISP_DATA_PORT,0x09); //13
  130. + EBI2_WRITE16D(DISP_DATA_PORT,0x03); //14
  131. + EBI2_WRITE16D(DISP_DATA_PORT,0x04); //15
  132. + EBI2_WRITE16D(DISP_DATA_PORT,0x0b); //16
  133. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); //17
  134. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); //18
  135. + EBI2_WRITE16D(DISP_DATA_PORT,0x18); //19
  136. + EBI2_WRITE16D(DISP_DATA_PORT,0x19); //20
  137. + EBI2_WRITE16D(DISP_DATA_PORT,0x07); //21
  138. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); //22
  139. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); //23
  140. +
  141. +//Gamma G
  142. + EBI2_WRITE16C(DISP_CMD_PORT, 0xc9); //1
  143. + EBI2_WRITE16D(DISP_DATA_PORT,0x0b); //2
  144. + EBI2_WRITE16D(DISP_DATA_PORT,0x1a); //3
  145. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); //4
  146. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); //5
  147. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); //6
  148. + EBI2_WRITE16D(DISP_DATA_PORT,0x0a); //7
  149. + EBI2_WRITE16D(DISP_DATA_PORT,0x04); //8
  150. + EBI2_WRITE16D(DISP_DATA_PORT,0x03); //9
  151. + EBI2_WRITE16D(DISP_DATA_PORT,0x09); //10
  152. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); //11
  153. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); //12
  154. + EBI2_WRITE16D(DISP_DATA_PORT,0x09); //13
  155. + EBI2_WRITE16D(DISP_DATA_PORT,0x03); //14
  156. + EBI2_WRITE16D(DISP_DATA_PORT,0x04); //15
  157. + EBI2_WRITE16D(DISP_DATA_PORT,0x0a); //16
  158. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); //17
  159. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); //18
  160. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); //19
  161. + EBI2_WRITE16D(DISP_DATA_PORT,0x1a); //20
  162. + EBI2_WRITE16D(DISP_DATA_PORT,0x0b); //21
  163. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); //22
  164. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); //23
  165. +
  166. + //Gamma R
  167. + EBI2_WRITE16C(DISP_CMD_PORT, 0xca); // 1
  168. + EBI2_WRITE16D(DISP_DATA_PORT,0x0b); // 2
  169. + EBI2_WRITE16D(DISP_DATA_PORT,0x1a); // 3
  170. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); // 4
  171. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); // 5
  172. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); // 6
  173. + EBI2_WRITE16D(DISP_DATA_PORT,0x0a); // 7
  174. + EBI2_WRITE16D(DISP_DATA_PORT,0x04); // 8
  175. + EBI2_WRITE16D(DISP_DATA_PORT,0x03); // 9
  176. + EBI2_WRITE16D(DISP_DATA_PORT,0x09); // 10
  177. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); // 11
  178. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); // 12
  179. + EBI2_WRITE16D(DISP_DATA_PORT,0x09); // 13
  180. + EBI2_WRITE16D(DISP_DATA_PORT,0x03); // 14
  181. + EBI2_WRITE16D(DISP_DATA_PORT,0x04); // 15
  182. + EBI2_WRITE16D(DISP_DATA_PORT,0x0a); // 16
  183. + EBI2_WRITE16D(DISP_DATA_PORT,0x0c); // 17
  184. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); // 18
  185. + EBI2_WRITE16D(DISP_DATA_PORT,0x14); // 19
  186. + EBI2_WRITE16D(DISP_DATA_PORT,0x1a); // 20
  187. + EBI2_WRITE16D(DISP_DATA_PORT,0x0b); // 21
  188. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); // 22
  189. + EBI2_WRITE16D(DISP_DATA_PORT,0x00); // 23
  190. +
  191. +
  192. + EBI2_WRITE16D(DISP_CMD_PORT ,0xd0);
  193. + EBI2_WRITE16D(DISP_DATA_PORT,0x23);
  194. + EBI2_WRITE16D(DISP_DATA_PORT,0x53);
  195. + EBI2_WRITE16D(DISP_DATA_PORT,0x02);
  196. + EBI2_WRITE16D(DISP_DATA_PORT,0x38);
  197. + EBI2_WRITE16D(DISP_DATA_PORT,0x30);
  198. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  199. +
  200. + EBI2_WRITE16C(DISP_CMD_PORT, 0xd2);
  201. + EBI2_WRITE16D(DISP_DATA_PORT,0x01);
  202. + EBI2_WRITE16D(DISP_DATA_PORT,0x22);
  203. +
  204. + EBI2_WRITE16C(DISP_CMD_PORT, 0x35);
  205. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  206. +
  207. + /* Tearing effect Control Parameter */
  208. + EBI2_WRITE16C(DISP_CMD_PORT, 0x44);
  209. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  210. + EBI2_WRITE16D(DISP_DATA_PORT,0xef);
  211. +
  212. + EBI2_WRITE16C(DISP_CMD_PORT, 0x36);
  213. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  214. +
  215. + EBI2_WRITE16C(DISP_CMD_PORT, 0x3a);
  216. + EBI2_WRITE16D(DISP_DATA_PORT,0x55);
  217. +
  218. + EBI2_WRITE16C(DISP_CMD_PORT, 0x2a);
  219. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  220. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  221. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  222. + EBI2_WRITE16D(DISP_DATA_PORT,0xef);
  223. +
  224. + EBI2_WRITE16C(DISP_CMD_PORT, 0x2b);
  225. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  226. + EBI2_WRITE16D(DISP_DATA_PORT,0x00);
  227. + EBI2_WRITE16D(DISP_DATA_PORT,0x01);
  228. + EBI2_WRITE16D(DISP_DATA_PORT,0x3f);
  229. +
  230. + //EBI2_WRITE16C(DISP_CMD_PORT,0x11); // Exit Sleep
  231. +
  232. + msleep(120);
  233. +
  234. +/* LGE_CHANGE_S: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  235. +#if 1
  236. + EBI2_WRITE16C(DISP_CMD_PORT,0x2c); // Write memory start
  237. + for(y = 0; y < 320; y++) {
  238. + int pixel = 0x0;
  239. + for(x= 0; x < 240; x++) {
  240. + EBI2_WRITE16D(DISP_DATA_PORT,pixel);
  241. + }
  242. + }
  243. + msleep(30);
  244. +
  245. +#endif
  246. + EBI2_WRITE16C(DISP_CMD_PORT,0x29); // Display On
  247. +}
  248. +
  249. +
  250. +
  251. static void do_ilitek_init(struct platform_device *pdev)
  252. {
  253. #if defined(CONFIG_MACH_MSM7X25A_E0EU) || defined(CONFIG_MACH_MSM7X25A_E1BR)
  254. @@ -494,6 +678,8 @@ static void do_ilitek_init(struct platform_device *pdev)
  255. #endif
  256. }
  257.  
  258. +
  259. +
  260. static void do_lgd_init(struct platform_device *pdev)
  261. {
  262. EBI2_WRITE16C(DISP_CMD_PORT, 0x11);
  263. @@ -602,9 +788,17 @@ static void do_lgd_init(struct platform_device *pdev)
  264. }
  265.  
  266.  
  267. +/* LGE_CHANGE_S: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  268. +extern int Is_Backlight_Set ;
  269. +extern int bu61800_force_set(void);
  270. +//extern int mcs8000_ts_on(void);
  271. +
  272. +/* LGE_CHANGE_E: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  273. +
  274.  
  275. static int ilitek_qvga_disp_on(struct platform_device *pdev)
  276. {
  277. + int readport;
  278. struct msm_panel_ilitek_pdata *pdata = tovis_qvga_panel_pdata;
  279.  
  280. printk("%s: display on...", __func__);
  281. @@ -614,11 +808,38 @@ static int ilitek_qvga_disp_on(struct platform_device *pdev)
  282. if(pdata->initialized && system_state == SYSTEM_BOOTING) {
  283. /* Do not hw initialize */
  284. } else {
  285. +
  286. + /* LGE_CHANGE_S: E0 kevinzone.han@lge.com [2012-02-01]
  287. + : For the Wakeup Issue */
  288. + //mcs8000_ts_on();
  289. + /* LGE_CHANGE_E: E0 kevinzone.han@lge.com [2012-02-01]
  290. + : For the Wakeup Issue */
  291. +
  292. msm_fb_ebi2_power_save(1);
  293.  
  294. -/* LGE_CHANGE_S: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  295. + gpio_tlmm_config(GPIO_CFG(GPIO_LCD_TID, 0, GPIO_CFG_INPUT, GPIO_CFG_NO_PULL, GPIO_CFG_2MA), GPIO_CFG_ENABLE);
  296. + readport = gpio_get_value(GPIO_LCD_TID);
  297. +
  298. #if 1
  299. -/* LGE_CHANGE_S: E0 jiwon.seo@lge.com [2011-11-07] :SE 85591 remove white screen during power on */
  300. + if(readport==0 )
  301. + {
  302. + if(IsFirstDisplayOn==0)
  303. + {
  304. + if(pdata->gpio) {
  305. + //mdelay(10); // prevent stop to listen to music with BT
  306. + gpio_set_value(pdata->gpio, 1);
  307. + mdelay(1);
  308. + gpio_set_value(pdata->gpio, 0);
  309. + mdelay(20);
  310. + gpio_set_value(pdata->gpio, 1);
  311. + msleep(50);
  312. + }
  313. + printk("AUO Init Started\n");
  314. + do_AUO_init(pdev);
  315. + }
  316. + }
  317. + else
  318. + {
  319. if(IsFirstDisplayOn==0)
  320. {
  321. if(pdata->gpio) {
  322. @@ -630,19 +851,16 @@ if(IsFirstDisplayOn==0)
  323. gpio_set_value(pdata->gpio, 1);
  324. msleep(120);
  325. }
  326. -}
  327. - if(IsFirstDisplayOn > 0)
  328. - IsFirstDisplayOn-- ;
  329. -/* LGE_CHANGE_E: E0 jiwon.seo@lge.com [2011-11-07] :SE 85591 remove white screen during power on */
  330. -#endif
  331. -/* LGE_CHANGE_E: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  332. -
  333. -
  334. + printk("Tovis Init Started\n");
  335. if(pdata->maker_id == PANEL_ID_LGDISPLAY)
  336. do_lgd_init(pdev);
  337. else
  338. do_ilitek_init(pdev);
  339. }
  340. + }
  341. + #endif
  342. +
  343. + }
  344.  
  345. pm_qos_update_request(tovis_pm_qos_req, 65000);
  346. display_on = TRUE;
  347. @@ -656,7 +874,8 @@ if(IsFirstDisplayOn==0)
  348. }
  349. #endif
  350. /* LGE_CHANGE_E: E0 jiwon.seo@lge.com [2011-11-22] : BL control error fix */
  351. -
  352. + if(IsFirstDisplayOn > 0)
  353. + IsFirstDisplayOn-- ;
  354.  
  355. return 0;
  356. }
  357. @@ -688,6 +907,7 @@ DEVICE_ATTR(lcd_onoff, 0664, tovis_qvga_show_onoff, tovis_qvga_store_onoff);
  358. static int __init tovis_qvga_probe(struct platform_device *pdev)
  359. {
  360. int ret;
  361. + int readport;
  362.  
  363. if (pdev->id == 0) {
  364. tovis_qvga_panel_pdata = pdev->dev.platform_data;
  365. @@ -701,6 +921,12 @@ static int __init tovis_qvga_probe(struct platform_device *pdev)
  366. printk("tovis_qvga_probe device_creat_file failed!!!\n");
  367. }
  368.  
  369. +
  370. + gpio_tlmm_config(GPIO_CFG(GPIO_LCD_TID, 0, GPIO_CFG_INPUT, GPIO_CFG_NO_PULL, GPIO_CFG_2MA), GPIO_CFG_ENABLE);
  371. + readport = gpio_get_value(GPIO_LCD_TID);
  372. +
  373. + printk("Read GPIO LCD port %d \n", readport);
  374. +
  375. #ifndef CONFIG_ARCH_MSM7X27A
  376. tovis_pm_qos_req = pm_qos_add_request(PM_QOS_SYSTEM_BUS_FREQ, PM_QOS_DEFAULT_VALUE);
  377. #endif
  378. diff --git a/drivers/video/msm/mdp_ppp_v20.c b/drivers/video/msm/mdp_ppp_v20.c
  379. index 8828a8f..b28e5c7 100644
  380. --- a/drivers/video/msm/mdp_ppp_v20.c
  381. +++ b/drivers/video/msm/mdp_ppp_v20.c
  382. @@ -2227,6 +2227,7 @@ void mdp_set_scale(MDPIBUF *iBuf,
  383. && (mdp_curr_up_scale_xy !=
  384. MDP_BC_SCALE_UP)) {
  385. mdp_load_bc_upscale_table();
  386. + mdp_load_bc_upscale_table();
  387. mdp_curr_up_scale_xy = MDP_BC_SCALE_UP;
  388. }
  389. }
  390. @@ -2255,6 +2256,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  391. MDP_BC_SCALE_POINT8_1)) {
  392. mdp_load_bc_downscale_table_x_point8TO1
  393. ();
  394. + mdp_load_bc_downscale_table_x_point8TO1
  395. + ();
  396. mdp_curr_down_scale_x =
  397. MDP_BC_SCALE_POINT8_1;
  398. }
  399. @@ -2274,6 +2277,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  400. {
  401. mdp_load_bc_downscale_table_x_point6TOpoint8
  402. ();
  403. + mdp_load_bc_downscale_table_x_point6TOpoint8
  404. + ();
  405. mdp_curr_down_scale_x =
  406. MDP_BC_SCALE_POINT6_POINT8;
  407. }
  408. @@ -2293,6 +2298,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  409. {
  410. mdp_load_bc_downscale_table_x_point4TOpoint6
  411. ();
  412. + mdp_load_bc_downscale_table_x_point4TOpoint6
  413. + ();
  414. mdp_curr_down_scale_x =
  415. MDP_BC_SCALE_POINT4_POINT6;
  416. }
  417. @@ -2310,6 +2317,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  418. {
  419. mdp_load_bc_downscale_table_x_point2TOpoint4
  420. ();
  421. + mdp_load_bc_downscale_table_x_point2TOpoint4
  422. + ();
  423. mdp_curr_down_scale_x =
  424. MDP_BC_SCALE_POINT2_POINT4;
  425. }
  426. @@ -2332,6 +2341,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  427. MDP_BC_SCALE_POINT8_1)) {
  428. mdp_load_bc_downscale_table_y_point8TO1
  429. ();
  430. + mdp_load_bc_downscale_table_y_point8TO1
  431. + ();
  432. mdp_curr_down_scale_y =
  433. MDP_BC_SCALE_POINT8_1;
  434. }
  435. @@ -2351,6 +2362,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  436. {
  437. mdp_load_bc_downscale_table_y_point6TOpoint8
  438. ();
  439. + mdp_load_bc_downscale_table_y_point6TOpoint8
  440. + ();
  441. mdp_curr_down_scale_y =
  442. MDP_BC_SCALE_POINT6_POINT8;
  443. }
  444. @@ -2370,6 +2383,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  445. {
  446. mdp_load_bc_downscale_table_y_point4TOpoint6
  447. ();
  448. + mdp_load_bc_downscale_table_y_point4TOpoint6
  449. + ();
  450. mdp_curr_down_scale_y =
  451. MDP_BC_SCALE_POINT4_POINT6;
  452. }
  453. @@ -2387,6 +2402,8 @@ void mdp_set_scale(MDPIBUF *iBuf,
  454. {
  455. mdp_load_bc_downscale_table_y_point2TOpoint4
  456. ();
  457. + mdp_load_bc_downscale_table_y_point2TOpoint4
  458. + ();
  459. mdp_curr_down_scale_y =
  460. MDP_BC_SCALE_POINT2_POINT4;
  461. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement