Loading drivers/video/msm/mdss/mdss_fb.c +7 −2 Original line number Diff line number Diff line Loading @@ -1147,7 +1147,6 @@ void mdss_fb_free_fb_ion_memory(struct msm_fb_data_type *mfd) mfd->fbi->screen_base = NULL; mfd->fbi->fix.smem_start = 0; mfd->fbi->fix.smem_len = 0; ion_unmap_kernel(mfd->fb_ion_client, mfd->fb_ion_handle); Loading Loading @@ -1664,8 +1663,14 @@ static int mdss_fb_register(struct msm_fb_data_type *mfd) var->hsync_len = panel_info->lcdc.h_pulse_width; var->pixclock = panel_info->clk_rate / 1000; /* id field for fb app */ /* * Populate smem length here for uspace to get the * Franebuffer size when FBIO_FSCREENINFO ioctl is * called. */ fix->smem_len = fix->line_length * var->yres_virtual; /* id field for fb app */ id = (int *)&mfd->panel; snprintf(fix->id, sizeof(fix->id), "mdssfb_%x", (u32) *id); Loading Loading
drivers/video/msm/mdss/mdss_fb.c +7 −2 Original line number Diff line number Diff line Loading @@ -1147,7 +1147,6 @@ void mdss_fb_free_fb_ion_memory(struct msm_fb_data_type *mfd) mfd->fbi->screen_base = NULL; mfd->fbi->fix.smem_start = 0; mfd->fbi->fix.smem_len = 0; ion_unmap_kernel(mfd->fb_ion_client, mfd->fb_ion_handle); Loading Loading @@ -1664,8 +1663,14 @@ static int mdss_fb_register(struct msm_fb_data_type *mfd) var->hsync_len = panel_info->lcdc.h_pulse_width; var->pixclock = panel_info->clk_rate / 1000; /* id field for fb app */ /* * Populate smem length here for uspace to get the * Franebuffer size when FBIO_FSCREENINFO ioctl is * called. */ fix->smem_len = fix->line_length * var->yres_virtual; /* id field for fb app */ id = (int *)&mfd->panel; snprintf(fix->id, sizeof(fix->id), "mdssfb_%x", (u32) *id); Loading