intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Remove unecessary check for unsupported modifiers for NV12
@ 2018-06-28  6:18 Dhinakaran Pandiyan
  2018-06-28  6:48 ` Daniel Vetter
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Dhinakaran Pandiyan @ 2018-06-28  6:18 UTC (permalink / raw)
  To: intel-gfx; +Cc: Dhinakaran Pandiyan

There is already a check to allow only RGB8888 formats with CCS
modifiers.

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index eaa0663963a5..c5ec13e0f484 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -14521,11 +14521,6 @@ static int intel_framebuffer_init(struct intel_framebuffer *intel_fb,
 		}
 		break;
 	case DRM_FORMAT_NV12:
-		if (mode_cmd->modifier[0] == I915_FORMAT_MOD_Y_TILED_CCS ||
-		    mode_cmd->modifier[0] == I915_FORMAT_MOD_Yf_TILED_CCS) {
-			DRM_DEBUG_KMS("RC not to be enabled with NV12\n");
-			goto err;
-		}
 		if (INTEL_GEN(dev_priv) < 9 || IS_SKYLAKE(dev_priv) ||
 		    IS_BROXTON(dev_priv)) {
 			DRM_DEBUG_KMS("unsupported pixel format: %s\n",
-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-07-02 18:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-28  6:18 [PATCH] drm/i915: Remove unecessary check for unsupported modifiers for NV12 Dhinakaran Pandiyan
2018-06-28  6:48 ` Daniel Vetter
2018-06-28 18:36   ` Dhinakaran Pandiyan
2018-06-28 18:21     ` Ville Syrjälä
2018-07-02 18:35     ` Dhinakaran Pandiyan
2018-06-28  7:07 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2018-06-28  7:23 ` ✓ Fi.CI.BAT: success " Patchwork
2018-06-28  8:35 ` [PATCH] " Maarten Lankhorst
2018-06-28  9:18 ` ✓ Fi.CI.IGT: success for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).