drm/i915: Parametrize the dphy and other spec specific parameters
authorShobhit Kumar <shobhit.kumar@intel.com>
Tue, 10 Dec 2013 06:45:00 +0000 (12:15 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 22:52:20 +0000 (23:52 +0100)
commitf6da28429a90c87c8329425297a36b85345a3f75
treeb3894e1850e79e3d73f520e5e1b722c744bfaa11
parenta4a593be5dcb39ac565fd2dd5a359456070328ac
drm/i915: Parametrize the dphy and other spec specific parameters

The values of these parameters will be different for differnet panel
based on dsi rate, lane count, etc. Remove the hardcodings and make
these as parameters whch will be initialized in panel specific
sub-encoder implementaion.

This will also form groundwork for planned generic panel sub-encoder
implemntation based on VBT design enhancments to support multiple panels

v2: Mask away the port_bits before use

Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h