]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Add support for Generic MIPI panel driver
authorShobhit Kumar <shobhit.kumar@intel.com>
Fri, 23 May 2014 16:05:27 +0000 (21:35 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 May 2014 11:37:00 +0000 (13:37 +0200)
commit9c92da2c7c17eea79b6321b37592df0a002d24df
treeb56ee8cea461bcd15b8266ff5a31d84c0950af30
parentdbf0001f5cf7b72526ae62ac9a57c00176be0411
drm/i915: Add support for Generic MIPI panel driver

This driver makes use of the generic panel information from the VBT.
Panel information is classified into two - panel configuration and panel
power sequence which is unique to each panel. The generic driver uses the
panel configuration and sequence parsed from VBT block #52 and #53

v2: Address review comments by Jani
    - Move all of the things in driver c file from header
    - Make all functions static
    - Make use of video/mipi_display.c instead of redefining
    - Null checks during sequence execution

v3: Address review comments by Damien
    - Rename the panel driver file as intel_dsi_panel_vbt.c
    - Fix style changes as suggested
    - Correct comments for lp->hs and hs->lp count calculations
    - General updating comments to have more clarity
    - using max() instead of ternary operator
    - Fix names (ui_num, ui_den) while using UI in calculations
    - compute max of lp_to_hs switch and hs_to_lp switch while computing
      hs_lp_switch_count

Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c [new file with mode: 0644]