From patchwork Wed Aug 26 17:43:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 7078991 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E75049F358 for ; Wed, 26 Aug 2015 17:44:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 26E2B2093A for ; Wed, 26 Aug 2015 17:44:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 20B0820946 for ; Wed, 26 Aug 2015 17:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753849AbbHZRoG (ORCPT ); Wed, 26 Aug 2015 13:44:06 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:36761 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752307AbbHZRoF (ORCPT ); Wed, 26 Aug 2015 13:44:05 -0400 Received: by qkda128 with SMTP id a128so74123851qkd.3 for ; Wed, 26 Aug 2015 10:44:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8/Zp3CHiFs0kpyb438sz7c8H11FvNyymiFiXbaNzN3s=; b=epjvO2J8VtLZNCyhb3MCrmHRPb6TLibZvFqGMi5yYkAVVIbR3B2mZVkOZ8BtpWONEa jAWFB7diu7CzH+WCTUN+sdkG2PRHCoIy0OFxZUIx3ApDkV5uDoASLx+2Dhuo4Z+VPO91 4CUrR5cML5v7ONXh232vEE9jxeK637st6MKacN5m0yqU+FuEqS2iYB2fH+Nkt90cQILC 1WZ0rRstjrHSOJpZEzhTnXRx+Ucaa9J5RCyMcNOwq5efkkX3k7ryJUN30IZDSNydaiG5 TuqqgR0gD+QoovBKiwdD6Ucf6Cvj2kLltdT9YA8qIYANKZM+qF+kV465PnWq6U4JTyIN BtlA== X-Received: by 10.55.27.203 with SMTP id m72mr49035135qkh.39.1440611044962; Wed, 26 Aug 2015 10:44:04 -0700 (PDT) Received: from jade.localdomain ([179.98.13.55]) by smtp.gmail.com with ESMTPSA id o96sm16856202qgd.23.2015.08.26.10.44.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2015 10:44:04 -0700 (PDT) From: Gustavo Padovan To: linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, jy0922.shim@samsung.com, tjakobi@math.uni-bielefeld.de, Gustavo Padovan Subject: [PATCH v2 11/11] drm/exynos: Enable atomic modesetting feature Date: Wed, 26 Aug 2015 14:43:28 -0300 Message-Id: <1440611008-3473-13-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1440611008-3473-1-git-send-email-gustavo@padovan.org> References: <1440611008-3473-1-git-send-email-gustavo@padovan.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Now that atomic modesetting is implemented for exynos enable the DRIVER_ATOMIC flag on the driver's features. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 881f178..c882fd3 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -438,7 +438,8 @@ static const struct file_operations exynos_drm_driver_fops = { }; static struct drm_driver exynos_drm_driver = { - .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, + .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME + | DRIVER_ATOMIC, .load = exynos_drm_load, .unload = exynos_drm_unload, .open = exynos_drm_open,