From patchwork Wed Jan 13 21:52:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 8028561 Return-Path: X-Original-To: patchwork-dri-devel@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 D9B109FC69 for ; Wed, 13 Jan 2016 21:52:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 208BB20532 for ; Wed, 13 Jan 2016 21:52:27 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 51FB02052C for ; Wed, 13 Jan 2016 21:52:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C1B972097; Wed, 13 Jan 2016 13:52:25 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by gabe.freedesktop.org (Postfix) with ESMTPS id D24377200C for ; Wed, 13 Jan 2016 13:52:23 -0800 (PST) Received: by mail-ob0-f176.google.com with SMTP id is5so67018202obc.0 for ; Wed, 13 Jan 2016 13:52:23 -0800 (PST) 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=O2qL25mQ0lTi+v1H9Y2QOyITA2oOGk5ZCOORuSqXBg4=; b=ODYa1SkcqPz9KW/CoMOi7n/RXzxKEj5CmvMdPtDWnciNFKZwlMUuGHuHnKbC5PyWS2 vo7mdgnmCihdlxivh4bFdgbU0lTL62zzBhXfpChRlZyeBNuijMN9x0HZSiY7Xj0yW7mT cgOprXxNc8s9zh564za+eJFWeUU4QsZ/gdzLiA3cOTpFTB0EinkkqlUhI+mV+2kkQ5dr UUW0pgFl7qmPjkrbZhfIB73bpg23IMLj93cqqiAkGG4Km7v8/0r7aZeQ4SoaHNaoS1y3 v//5EKdNkqPwlVaNy/ZybJiK1EB8PFgKDTngbUGSPCpbVK1BzPKtoptuiYYfC3dIV8UN gk+w== X-Gm-Message-State: ALoCoQmGGtbUJMLdedF5NbA/No3h1+0cJ4sLam7I7p7iQVsvsM/hXQPugc3bvz8Ui92vViDGJm3V4JOhOo/yuY6/oM2+ITxXFw== X-Received: by 10.60.135.98 with SMTP id pr2mr423753oeb.65.1452721943177; Wed, 13 Jan 2016 13:52:23 -0800 (PST) Received: from rob-hp-laptop.herring.priv (72-48-98-129.dyn.grandenetworks.net. [72.48.98.129]) by smtp.googlemail.com with ESMTPSA id kf2sm1650334oeb.11.2016.01.13.13.52.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jan 2016 13:52:22 -0800 (PST) From: Rob Herring To: Dave Airlie Subject: [PATCH 4/4] drm: virtio-gpu: set atomic flag Date: Wed, 13 Jan 2016 15:52:10 -0600 Message-Id: <1452721930-14714-5-git-send-email-robh@kernel.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452721930-14714-1-git-send-email-robh@kernel.org> References: <1452721930-14714-1-git-send-email-robh@kernel.org> Cc: dri-devel@lists.freedesktop.org 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" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Advertise atomic mode setting capability to user space. Signed-off-by: Rob Herring --- drivers/gpu/drm/virtio/virtgpu_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c index b40ed60..7f898cf 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.c +++ b/drivers/gpu/drm/virtio/virtgpu_drv.c @@ -118,7 +118,7 @@ static const struct file_operations virtio_gpu_driver_fops = { static struct drm_driver driver = { - .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER, + .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER | DRIVER_ATOMIC, .set_busid = drm_virtio_set_busid, .load = virtio_gpu_driver_load, .unload = virtio_gpu_driver_unload,