Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3215049imu; Sat, 24 Nov 2018 00:17:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/WEnEmvt9M94lhsoIakpsgY75u+MiYEtBbmih36BVUjDj0tcwALO2OVLMeMOoNiniEt5LoZ X-Received: by 2002:a63:c24c:: with SMTP id l12mr17165092pgg.146.1543047436533; Sat, 24 Nov 2018 00:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543047436; cv=none; d=google.com; s=arc-20160816; b=BcsP7Ue4wIU9WQ31YGzq26naWAk8smgM5cRMeaSv023wOE40K6ZdkV9dcsU9eKkVi3 6//AAvi52xR5xFZJJPW4eRgPi1esjFjihOFBslLrpbuFRl5TixNUUfZWlf31X8Az4slG nbHxO910vtlsfWjpdeN5PxDTkpVNU65WQo3r6622831GwfYbP7lWQr74mda0id4AAFFW 1Y3IN4LGLgGpurbopralU26J8hKqeD4lWIZ8fNihAw0EGaqzgN1mBqATG0txeS+9wAw7 ERr3aftp24L+bWTyy6W2HkoAfefFuLyuXELnCpglvnXy6Ag56NunJDowSA9VaPwNjlzk RJwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fzdd41H1wnZr1FroGofdLKu7f9PfjnLm1SGPp+vKxR0=; b=nrgIPTv2kh7KU3TEnlcRvWYaXLDI0vLsEBLxhRPFqAlE80R9Cd11bBNUunCLuTwWV9 gAMa0Lc1/1uF/StbYQiYccXYR00TTZv5BhRBzDxmKwYXFk0EbOYyYeUdkWapM8aMshuU PdnV0p+RqV5bW7xBm/NpBJk8uRNybzpPMIxA5VBv/Xce4Nc47D80CLhLalISAeyGtYgA khCY+Ud6ZE+XwAYws6JqFzNyOQ+VgZd96RxRrhkNp5dzaGOzTb3QASW3zTFz7GBeMqp2 EyMqNiSgOTqpjVNJo9Qep6EGgAJJZoDoood7lz/g5I/X/Pr2RRQsqP4S5C5pgQ0Oy8oo mRCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s80si17377731pfa.130.2018.11.24.00.17.02; Sat, 24 Nov 2018 00:17:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409039AbeKWUKg (ORCPT + 99 others); Fri, 23 Nov 2018 15:10:36 -0500 Received: from mail.bootlin.com ([62.4.15.54]:49453 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409026AbeKWUKf (ORCPT ); Fri, 23 Nov 2018 15:10:35 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 1C45A20F45; Fri, 23 Nov 2018 10:27:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost.localdomain (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 3C04220F5D; Fri, 23 Nov 2018 10:26:37 +0100 (CET) From: Paul Kocialkowski To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Cc: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Chen-Yu Tsai , Thomas Petazzoni , linux-sunxi@googlegroups.com, Daniel Vetter , Paul Kocialkowski Subject: [PATCH v2 37/43] drm/sun4i: drv: Allow framebuffer modifiers in mode config Date: Fri, 23 Nov 2018 10:25:09 +0100 Message-Id: <20181123092515.2511-38-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181123092515.2511-1-paul.kocialkowski@bootlin.com> References: <20181123092515.2511-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Kocialkowski This is the final step to indicate to the core that our driver supports framebuffer modifiers. Signed-off-by: Paul Kocialkowski --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 5ae32973cf34..a041febe391a 100644 --- a/drivers/gpu/drm/sun4i/sun4i_drv.c +++ b/drivers/gpu/drm/sun4i/sun4i_drv.c @@ -186,6 +186,7 @@ static int sun4i_drv_bind(struct device *dev) } drm_mode_config_init(drm); + drm->mode_config.allow_fb_modifiers = true; ret = component_bind_all(drm->dev, drm); if (ret) { -- 2.19.1