]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/BXT: Get pipe conf from the port registers
authorRamalingam C <ramalingam.c@intel.com>
Thu, 7 Apr 2016 09:06:07 +0000 (14:36 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 7 Apr 2016 13:46:09 +0000 (16:46 +0300)
commit096655c5fef275aa5bc2c94dfefa76dc1fded7e9
tree7c40e14f260db537157778c64ef0bfbd6a3b7a31
parentdaa9adf16384cb5d3bc6a10a3a4de0ccc12d57ee
drm/i915/BXT: Get pipe conf from the port registers

At BXT DSI, PIPE registers are inactive. So we can't get the
PIPE's mode parameters from them. The possible option is
retriving them from the PORT registers.

The required changes are added for BXT in intel_dsi_get_config
(encoder->get_config).

v2: Addressed the Jani's comments
    -removed the redundant call to encoder->get_config
    -read bpp from port register
    -removed retrival of src_size from encoder->get_config

v3: pipe_config->pipe_bpp is fixed
    Jani's review comments addressed:
Few horizontal timing parameters dropped from the patch to make
progress, as there seems to be some disagreement on
best/feasible/possible options.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Previously Reviewed at: https://lists.freedesktop.org/archives/intel-gfx/2016-April/091737.html
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460019967-26501-2-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/intel_dsi.c