drm/i915: Sharing the pixel_format_from_vbt to whole i915
authorRamalingam C <ramalingam.c@intel.com>
Thu, 7 Apr 2016 09:06:06 +0000 (14:36 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 7 Apr 2016 13:46:06 +0000 (16:46 +0300)
commit43367ec962095b76d36453b659defd9ee8d41e46
tree3f9a53c36525c01245606c0af985bcd0334dd22f
parentb13d8e2888f60a18556844ed8958fd32bff1827c
drm/i915: Sharing the pixel_format_from_vbt to whole i915

Shared the function pixel_format_from_vbt for whole display module.
Function declaration is added to intel_dsi.h.

V2: Moved the function to intel_dsi.c and renamed as per the purpose
of the function. Suggested by Jani.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Previously reviewed at https://lists.freedesktop.org/archives/intel-gfx/2016-April/091736.html
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460019967-26501-1-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c