aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>2017-12-19 19:24:10 -0500
committerJani Nikula <jani.nikula@intel.com>2017-12-21 12:51:03 -0500
commit8bc0d7ac934b6f2d0dc8f38a3104d281c9db1e98 (patch)
tree2314602168774235326c49b4316c92e824978258
parent423561a0bd9d661f6121081cb0dce6972a1f0840 (diff)
i915: Reject CCS modifiers for pipe C on Geminilake
Current code advertises (on the modifiers blob property) support for CCS modifier for pipe C on GLK, only to reject it later when validating the request before the atomic commit. This fixes the tests igt@kms_ccs@pipe-c-*, which should skip on GLK for pipe C (see bug 104096). A relevant discussion is archived at: https://lists.freedesktop.org/archives/intel-gfx/2017-December/150646.html Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104096 Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Cc: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171220002410.5604-1-krisman@collabora.co.uk (cherry picked from commit f0cbd8bd877f3d8c5b80a6b1add9ca9010d7f9d8) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index ff9397030092..30cf273d57aa 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -13194,7 +13194,7 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)
13194 primary->frontbuffer_bit = INTEL_FRONTBUFFER_PRIMARY(pipe); 13194 primary->frontbuffer_bit = INTEL_FRONTBUFFER_PRIMARY(pipe);
13195 primary->check_plane = intel_check_primary_plane; 13195 primary->check_plane = intel_check_primary_plane;
13196 13196
13197 if (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv)) { 13197 if (INTEL_GEN(dev_priv) >= 10) {
13198 intel_primary_formats = skl_primary_formats; 13198 intel_primary_formats = skl_primary_formats;
13199 num_formats = ARRAY_SIZE(skl_primary_formats); 13199 num_formats = ARRAY_SIZE(skl_primary_formats);
13200 modifiers = skl_format_modifiers_ccs; 13200 modifiers = skl_format_modifiers_ccs;