drm/i915: Don't bypass LRC on CHV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Sep 2015 15:05:44 +0000 (18:05 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 Oct 2015 08:29:19 +0000 (10:29 +0200)
commit9571b190cf474ae02a7e018a21d14052d750070f
tree0f4c5ff15171a978b06b70da6091dbf29fb0102d
parent5d250b05918c002b63632c7db91c3c5f924c6a3b
drm/i915: Don't bypass LRC on CHV

The docs are unclear as usual, so it's not clear whether LRC should be
bypassed, performed normally or GRC code should be used as the LRC code.
Some old docs stated that LRC bypass ought to be used, more recent ones
no longer say that. Some docs indicated that we could use GRC as the LRC
code on CHV, but the BIOS doesn't do that, so let's not do it either.

Besides to enable LRC bypass properly, I believe we should set the bit
already before deasserting cmnreset.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak S<deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_hdmi.c