Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5048812imu; Wed, 19 Dec 2018 04:53:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/VG3lvlYFkvMFX1xn04vxESA3P6lEFcC+9TRm/kTmwuAT4cPhH0w4IvpVQ98m7EXJ7i5IL8 X-Received: by 2002:a63:4a4d:: with SMTP id j13mr6949203pgl.127.1545224026697; Wed, 19 Dec 2018 04:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545224026; cv=none; d=google.com; s=arc-20160816; b=Qbr2LEJeE5yQ18phun8NjOyr/kk7PtmD9EX40paFWbJy8gfFGinHr6qZPcBoEvf9i9 s5ST+jGIQ7X6HnnXFJwQyYsnW34ksg2rK35BQGBU7lQCROkZBOzEizg9pLoX/6fobkxN oHAAZRb1pmEztPmx+OXY5w+Gu9KpGl1tLuLepeRNc1MsNdQ0TSYSK+gm1/j4ieXxaWRi yDIuDXJx5lLg/H+O+2NOoc3tcwl0J36cGkMrbdSfZbaXZBryaabGYTudUf4gKIdqwijf wH6Ilj56OROVqyuZdzP+ql2KduBgv9WIe0rxCfYb3drVT72nWdriDN61fFZrof3nsRwT TwWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=oRB7d1cp1dZMIznIHG17n099C+XaWccqifdKkFTSheM=; b=PtwPU74VReC2GM2ISsGQghTKeWX2CNv621bKyIZj2Iu+9hL/P+tXYoZGC1MUvioatZ MxRDrznjWaJfBshIGLXDKk41MyYQWEIUmDC0g8r9+iJSFWP63S0hvWOaoxljEtkKlxiU PBej7tYsSmpTlIOzF0tQiUrvUoEPwlQfsPWeRo/TWY7LSXorytPxAkhD7MfIzXY54N2S ZzDZ35CWKxwVYvF2CzrBkLicn5eNqZrbNbYbs3XwAFPtaMXbMbxTIN0aEdnYZx3mSO5F d3s+Tq0yl8mqjSgKQ2cO0QuTF+voU3zpRnXFZoRKHYLJeyKnErNSBPuHSmDd78WdGsmc oGOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a193si17529781pfa.214.2018.12.19.04.53.30; Wed, 19 Dec 2018 04:53:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729559AbeLSLw2 (ORCPT + 99 others); Wed, 19 Dec 2018 06:52:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54570 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728613AbeLSLvc (ORCPT ); Wed, 19 Dec 2018 06:51:32 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BF26BC058CB3; Wed, 19 Dec 2018 11:51:32 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-117-174.ams2.redhat.com [10.36.117.174]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6CEC467CEA; Wed, 19 Dec 2018 11:51:32 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B95CB751C; Wed, 19 Dec 2018 12:51:28 +0100 (CET) From: Gerd Hoffmann To: dri-devel@lists.freedesktop.org, David Airlie Cc: Gerd Hoffmann , David Airlie , virtualization@lists.linux-foundation.org (open list:DRM DRIVER FOR BOCHS VIRTUAL GPU), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 06/14] drm/bochs: atomic: use atomic set_config helper Date: Wed, 19 Dec 2018 12:51:19 +0100 Message-Id: <20181219115127.31359-7-kraxel@redhat.com> In-Reply-To: <20181219115127.31359-1-kraxel@redhat.com> References: <20181219115127.31359-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 19 Dec 2018 11:51:32 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Conversion to atomic modesetting, step four. Use atomic set_config helper for crtc. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c index aa3ba0377a..dcc8b864fc 100644 --- a/drivers/gpu/drm/bochs/bochs_kms.c +++ b/drivers/gpu/drm/bochs/bochs_kms.c @@ -150,7 +150,7 @@ static void bochs_crtc_atomic_flush(struct drm_crtc *crtc, /* These provide the minimum set of functions required to handle a CRTC */ static const struct drm_crtc_funcs bochs_crtc_funcs = { - .set_config = drm_crtc_helper_set_config, + .set_config = drm_atomic_helper_set_config, .destroy = drm_crtc_cleanup, .page_flip = bochs_crtc_page_flip, .reset = drm_atomic_helper_crtc_reset, -- 2.9.3