]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/dsi: Using the bpp value wrt the pixel format
authorDeepak M <m.deepak@intel.com>
Thu, 11 Feb 2016 15:03:27 +0000 (20:33 +0530)
committerJani Nikula <jani.nikula@intel.com>
Fri, 19 Feb 2016 12:56:05 +0000 (14:56 +0200)
commit0aa8bdf25b16f5c9cf6dfbe0efa67ee79ff3e47a
tree03072d7fc8232ffe053549916d0026929bce8798
parentd6e3af5498390ae58b03b515ad0eb92520a8ad6b
drm/i915/dsi: Using the bpp value wrt the pixel format

The bpp value which is used while calulating the txbyteclkhs values
should be wrt the pixel format value. Currently bpp is coming
from pipe config to calculate txbyteclkhs. Fix it in this patch.

V2: dsi_pixel_format_bpp is used to retrieve the bpp from pixel_format
[Review: Jani]

Signed-off-by: Deepak M <m.deepak@intel.com>
Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohan.marimuthu@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Tested-by: Mika Kahola <mika.kahola@intel.com> # BYT
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455203007-10850-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
drivers/gpu/drm/i915/intel_dsi_pll.c