From patchwork Wed Dec 5 08:36:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10713259 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C973A1731 for ; Wed, 5 Dec 2018 08:42:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8D402CA04 for ; Wed, 5 Dec 2018 08:42:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACE512CA29; Wed, 5 Dec 2018 08:42:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6A5672CA04 for ; Wed, 5 Dec 2018 08:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vK1gV1L3hMsm0rp5+AtQwSzXksuXzoEg1v0hSx/XhIs=; b=ofOphLrmkb6xp+ GUQHno4YfyG7hsyNBMAl/HN8FenYHjfTP3QGs/8uHjE7KJMlLfsPTacTm2YbBH87DLZXGjb+D2sWC +bmXjHkEQEMZVRuk7+UUQKNeQAzVz1AI8eo8B7HnfhRDR48/78eJRRYGjRO6qaEW0Fh/kCq9Hr6F6 /tvSOE6u+eyVk0FvzofeeP8+ck+E8IIWYA5veG5L13J5q4/BY74nkpyTuoSaYJnJpipUravxE8OG3 JsaYi0DzW43OjgJsGCiBybLLC6HFrc0fXAEyBDMUAzDKztAMCepUuE/iTECyRFNKfIcPVfRzPoOdb GvWqJqouwGY6t+EJTjfA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUSlU-0002EZ-Rw; Wed, 05 Dec 2018 08:42:40 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUShF-0005LY-OF for linux-arm-kernel@bombadil.infradead.org; Wed, 05 Dec 2018 08:38:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IYW+AaMqwzGR4sCC07vipnQsI9zTaOVdxjji20NSfIQ=; b=lsl3OrJI/8tc6eX3zqj25iNYXw rinWJj47eWx55rLQEjelU1nGlXZG4LzDIen0JKDU1V8+KmwAazS9f0mloMJRw2786BCzkqvZsqI3E eA1nNp4KB0QpeHEpShc9RsfjnnCia+jHwT+/enuMXNX2pIiXhBOIFIn9F1eBDexOCcxVaVo4sot93 4hwdgbv7DoVO4iKuor/wMl0aaq/srCmi+F0gvgR54qstSh+gxVQex8GYA4m9P9k5yksglXrijBlUY /uvsYsNl5jVHStSuWiPb1TvTBrAzikDxUV4udpJxbC5JgbO6iQKlzOG7lLqPQ04aotAajRWvJQsai WoBu9ykQ==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUShC-0000l0-Ax for linux-arm-kernel@lists.infradead.org; Wed, 05 Dec 2018 08:38:15 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 13E6020CFB; Wed, 5 Dec 2018 09:37:56 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-79-44.w90-88.abo.wanadoo.fr [90.88.21.44]) by mail.bootlin.com (Postfix) with ESMTPSA id 1B93220D23; Wed, 5 Dec 2018 09:37:29 +0100 (CET) From: Paul Kocialkowski To: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 16/22] drm/sun4i: drv: Allow framebuffer modifiers in mode config Date: Wed, 5 Dec 2018 09:36:57 +0100 Message-Id: <20181205083703.21488-17-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181205083703.21488-1-paul.kocialkowski@bootlin.com> References: <20181205083703.21488-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181205_033814_843884_F33B3549 X-CRM114-Status: GOOD ( 13.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , Maxime Ripard , Maarten Lankhorst , linux-sunxi@googlegroups.com, Paul Kocialkowski , David Airlie , Chen-Yu Tsai , Thomas Petazzoni , Sean Paul Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is the final step to indicate to the core that our driver supports framebuffer modifiers. Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard --- 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 9e4c375ccc96..93da837194cf 100644 --- a/drivers/gpu/drm/sun4i/sun4i_drv.c +++ b/drivers/gpu/drm/sun4i/sun4i_drv.c @@ -97,6 +97,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) {