From patchwork Sat Aug 15 16:26:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 7021161 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 2485C9F39D for ; Sat, 15 Aug 2015 16:26:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 261D7206BA for ; Sat, 15 Aug 2015 16:26:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5771C206DD for ; Sat, 15 Aug 2015 16:26:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753979AbbHOQ0x (ORCPT ); Sat, 15 Aug 2015 12:26:53 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:34151 "EHLO mail-yk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753923AbbHOQ0x (ORCPT ); Sat, 15 Aug 2015 12:26:53 -0400 Received: by ykdt205 with SMTP id t205so93022593ykd.1 for ; Sat, 15 Aug 2015 09:26:53 -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=fZf2sWwVzWAHvaGWVdNSLvymojK6DRB6eGr+RgutDzs=; b=SH/uWbf3CGh3rpNGRYfKE0UXxjHLo+AUTjm45jJYs+RFekoWvGBTlpqbDJKDSkcY26 zTgOhoVI/OWn01KDkhhInxbN773n0ET8kdKCZGIEz6nJzkIiZkKhoiIFHAlwLQmRhiOu oEDYUp7b9XtyR93H6usi8P49jcf8kAD4XLSgtksf2bPngLCeq0QMuaXmbDBd3xTlUsSv 2ZRz2zMcdRPJhCEAeMxYLs1y/1Yh9q1s7qt+6n2+Sp5qcBAjLrX12B0tDt5DAW+yC3lt HQS7toH9t9HcAB4L2yNSXLrcVszs5UaAbsxGVx9mG9K3YNlu/2/5TVY+LPSapndVJ3C3 xooQ== X-Received: by 10.129.31.135 with SMTP id f129mr11561353ywf.85.1439656013058; Sat, 15 Aug 2015 09:26:53 -0700 (PDT) Received: from jade.localdomain ([187.64.235.140]) by smtp.gmail.com with ESMTPSA id m132sm8636775ywb.34.2015.08.15.09.26.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Aug 2015 09:26:52 -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 11/11] drm/exynos: Enable atomic modesetting feature Date: Sat, 15 Aug 2015 13:26:20 -0300 Message-Id: <1439655980-32146-12-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1439655980-32146-1-git-send-email-gustavo@padovan.org> References: <1439655980-32146-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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 241453f..0ebe04f 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -439,7 +439,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,