From patchwork Thu Jan 7 13:30:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 59282 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp551344lbb; Thu, 7 Jan 2016 05:31:13 -0800 (PST) X-Received: by 10.67.6.233 with SMTP id cx9mr89940300pad.54.1452173470328; Thu, 07 Jan 2016 05:31:10 -0800 (PST) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id hs5si41791095pac.243.2016.01.07.05.31.10; Thu, 07 Jan 2016 05:31:10 -0800 (PST) Received-SPF: pass (google.com: domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 297786E674; Thu, 7 Jan 2016 05:31:09 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id DEC896E672 for ; Thu, 7 Jan 2016 05:31:06 -0800 (PST) Received: by mail-wm0-f41.google.com with SMTP id l65so97054125wmf.1 for ; Thu, 07 Jan 2016 05:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8cLDbyV1j9hhL2AoWI2FBNKkfUc2SHmpAWGxHSa/laI=; b=h/kXP5McTHcDvTd3w00gRCU5JLt1YbdTrP3+iznzdnh9OAA5nRjF2Y6UQk6YP1pNUT 8PK5oE/0tm+OsLIq0Jxs1hfiDrkO/e4tYGPgwb4zH9lZUJcl5Eg7DjySkEPTVenHAMcM cQPQAESMXidDQpMR8c754oyD/yrUcQNWUyggE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8cLDbyV1j9hhL2AoWI2FBNKkfUc2SHmpAWGxHSa/laI=; b=h8iZd9Y8AXsgfE4cpodAlKqS2EcQ3f6TZehOjFAPpa/7i+MzCBzpW/p+dtkTHqf4vQ UR5HVIYXi9Yo87nA7IAsB/H+gBNMu+NNiOqm8FJHGx6Y9ujXgGAtNcaUop+Q88x+Zcom XIRRRlavK65l466zU3vBPxOB0KpnGq849tAMohgz6GIkzzbfRsCNMwzoWb03fA7UaP7/ tI0vBTjcxTuVdoM1R1qq93SgEum/5XqMCqGsIncee2eFhaCTdZYg/koHMWsjbFE791bw +Ok9RAEuPlDu4JUwA0nusD/uOD2YzeVeZN4T9U4Wd/A+MFxXpTOdCjKVnlroajmlRWpx 64Uw== X-Gm-Message-State: ALoCoQlVPoMViCOYKyZxN0EYYBNoW3ZdAk+jXRO+8trfF6sSHfbZmejFu/aDqkNEnBVUFRImUQV+DcTJ639zW2Ow+HI6bx0Tug== X-Received: by 10.28.216.211 with SMTP id p202mr17353995wmg.84.1452173465554; Thu, 07 Jan 2016 05:31:05 -0800 (PST) Received: from LMENX321.lme.st.com (LPuteaux-656-1-48-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by smtp.gmail.com with ESMTPSA id i2sm11863922wjx.42.2016.01.07.05.31.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 05:31:04 -0800 (PST) From: Benjamin Gaignard To: dri-devel@lists.freedesktop.org, vincent.abriou@st.com, fabien.dessenne@st.com Subject: [PATCH 5/5] drm: sti: set DRIVER_ATOMIC for sti Date: Thu, 7 Jan 2016 14:30:41 +0100 Message-Id: <1452173441-30033-6-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1452173441-30033-1-git-send-email-benjamin.gaignard@linaro.org> References: <1452173441-30033-1-git-send-email-benjamin.gaignard@linaro.org> Cc: Benjamin Gaignard X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" sti now support of atomic modesetting so set the flag to enable it. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index 1469987..a6f9ff2 100644 --- a/drivers/gpu/drm/sti/sti_drv.c +++ b/drivers/gpu/drm/sti/sti_drv.c @@ -191,7 +191,7 @@ static struct dma_buf *sti_gem_prime_export(struct drm_device *dev, static struct drm_driver sti_driver = { .driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET | - DRIVER_GEM | DRIVER_PRIME, + DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC, .load = sti_load, .gem_free_object = drm_gem_cma_free_object, .gem_vm_ops = &drm_gem_cma_vm_ops,