i915: Reject CCS modifiers for pipe C on Geminilake
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Wed, 20 Dec 2017 00:24:10 +0000 (22:24 -0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2017 00:37:35 +0000 (16:37 -0800)
commitf0cbd8bd877f3d8c5b80a6b1add9ca9010d7f9d8
tree6329efb00d8dd8de5d3f9a1cc8832957ce73c80c
parentc99d7832dcd7423ba352386107118b9bd8b83158
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
drivers/gpu/drm/i915/intel_display.c