Enable Rendering Buffer Compression

Enabling Rendering buffer compression (allocating buffers using I915_FORMAT_MOD_Y_TILED_CCS
modifier).

http://go/cros-intelrbc

Requirement:
Using modifier might require more resources than the system can support. Enabling RBC is dependent on the ability of Chrome to test-modeset before modesetting, and falling back to less demanding modifiers such as Linear modifier (crrev.com/c/2567263).

BUG: 979736
TEST: (Kohaku eDP(4K) with 4K external) and (Kohaku eDP and 2 external monitors)
Change-Id: I304b9cd973e5fec67711411ee2706140b3e76e03
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2577977
Tested-by: Mark Yacoub <markyacoub@google.com>
Commit-Queue: Mark Yacoub <markyacoub@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
diff --git a/i915.c b/i915.c
index 92c2dd8..b00913c 100644
--- a/i915.c
+++ b/i915.c
@@ -34,8 +34,8 @@
 static const uint32_t texture_only_formats[] = { DRM_FORMAT_R8, DRM_FORMAT_NV12, DRM_FORMAT_P010,
 						 DRM_FORMAT_YVU420, DRM_FORMAT_YVU420_ANDROID };
 
-static const uint64_t gen_modifier_order[] = { I915_FORMAT_MOD_Y_TILED, I915_FORMAT_MOD_X_TILED,
-					       DRM_FORMAT_MOD_LINEAR };
+static const uint64_t gen_modifier_order[] = { I915_FORMAT_MOD_Y_TILED_CCS, I915_FORMAT_MOD_Y_TILED,
+					       I915_FORMAT_MOD_X_TILED, DRM_FORMAT_MOD_LINEAR };
 
 static const uint64_t gen11_modifier_order[] = { I915_FORMAT_MOD_Y_TILED, I915_FORMAT_MOD_X_TILED,
 						 DRM_FORMAT_MOD_LINEAR };