]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Enable display workaround 827 for all planes, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 11 May 2018 21:33:12 +0000 (03:03 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 11 May 2018 07:53:22 +0000 (09:53 +0200)
commitd5736a39b3e5866277df0e5555649ce72f7bbf19
treed1d92f6f8560be413042639d1069646836dbe9b8
parent7afc5dccc931cffe3411cea2550a7342bdaffefb
drm/i915: Enable display workaround 827 for all planes, v2.

The workaround was applied only to the primary plane, but is required
on all planes. Iterate over all planes in the crtc atomic check to see
if the workaround is enabled, and only perform the actual toggling in
the pre/post plane update functions.

Changes since v1:
- Track active NV12 planes in a nv12_planes bitmask. (Ville)

v2: Removing BROXTON support for NV12 due to WA826

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1526074397-10457-2-git-send-email-vidya.srinivas@intel.com
drivers/gpu/drm/i915/intel_atomic_plane.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h