]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add support for pipe_bpp readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Sep 2013 20:29:00 +0000 (23:29 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Sep 2013 12:52:16 +0000 (14:52 +0200)
commit72145560e4248c331259dd0a9f2f3feff734e92e
treec1c9e5cefc5228750b75511f3b2d1803b6f9cb23
parent3990d2dab9d00de6a50ffe44e458a96414610e03
drm/i915: Add support for pipe_bpp readout

On CTG+ read out the pipe bpp setting from hardware and fill it into
pipe config. Also check it appropriately.

v2: Don't do the pipe_bpp extraction inside the PCH only code block on
    ILK+.
    Avoid the PIPECONF read as we already have read it for the
    PIPECONF_EANBLE check.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c