]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add support for pipe_bpp readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 21 Oct 2013 07:52:06 +0000 (10:52 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 28 Oct 2013 08:34:37 +0000 (09:34 +0100)
commit3f317dacd6c454abda12e0309c9c758a9fd76269
treee16f0c38b4cfcbfcb14f696ca908048b5887f481
parent0e7fb4bc05a12a48fc03da20d018ff3786b7d5dc
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.

Note: This is already in drm-intel-next-queued as
commit 42571aefafb1d330ef84eb29418832f72e7dfb4c
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Fri Sep 6 23:29:00 2013 +0300

    drm/i915: Add support for pipe_bpp readout

but is needed for the following bugfix.

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