]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cnp: Wa 1181: Fix Backlight issue
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 31 Aug 2017 04:52:23 +0000 (21:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 5 Sep 2017 19:14:50 +0000 (12:14 -0700)
commit16f61168494072c1a36999c697a81d8dc140df5c
tree4c905aad892a322597dbf7041321637bedf15e9c
parent64ae88906ea4b0c18c6b53f17691bc7f3b1e057c
drm/i915/cnp: Wa 1181: Fix Backlight issue

This workaround fixes a CNL PCH bug when changing
backlight from a lower frequency to a higher frequency.

During random reboot cycles, display backlight seems to
be off/ dim for 2-3 mins.

The only functional change on this patch is to
set bit 13 of 0xC2020 for CNL PCH.

The rest of patch is organizing identation around
those bits definitions and re-organizing CFL workarounds.

v2: Only add the bit that matters without touching others
    around (Jani).
    Rebase on top of clock gating functions rename.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Arthur J Runyan <arthur.j.runyan@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170831045223.3960-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c