]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Corrupt DSI picture fix for GeminiLake
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Tue, 30 Apr 2019 12:51:19 +0000 (15:51 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 2 May 2019 07:46:55 +0000 (10:46 +0300)
commite7528596b3e289aa0f72737bc14eae0d3c98221a
tree976ace1740502ac0595317f64ce2f10ba6a361f7
parente90b5207ec1d3ebb555e3624f9e9a885d1a96b75
drm/i915: Corrupt DSI picture fix for GeminiLake

Currently due to regression CI machine displays show corrupt picture.
Problem is when CDCLK is as low as 79200, picture gets unstable, while
DSI and DE pll values were confirmed to be correct.  Limiting to 158400
as agreed with Ville.

We could not come up with any better solution yet, as PLL divider values
both for MIPI(DSI PLL) and CDCLK(DE PLL) are correct, however seems that
due to some boundary conditions, when clocking is too low we get wrong
timings for DSI display.  Similar workaround exists for VLV though, so
just took similar condition into use. At least that way GLK platform
will start to be usable again, with current drm-tip.

v2: Fixed commit subject as suggested.

v3: Added generic bugs(crc failures, screen not init
for GLK DSI which might be affected).

v4: Added references tag for bugs affected.

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=109267
References: https://bugs.freedesktop.org/show_bug.cgi?id=103184
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190430125119.7478-1-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/intel_cdclk.c