From patchwork Thu Jul 6 12:57:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9828263 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ECF0960361 for ; Thu, 6 Jul 2017 13:02:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF6D128621 for ; Thu, 6 Jul 2017 13:02:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3DEA28628; Thu, 6 Jul 2017 13:02:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 420FD28621 for ; Thu, 6 Jul 2017 13:02:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752509AbdGFNC6 (ORCPT ); Thu, 6 Jul 2017 09:02:58 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:33073 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752295AbdGFNC6 (ORCPT ); Thu, 6 Jul 2017 09:02:58 -0400 Received: by mail-lf0-f65.google.com with SMTP id t72so253092lff.0 for ; Thu, 06 Jul 2017 06:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kW2zdG0FPf3vPSi6heLizavvX4EyeFHVNNo/OcrDxks=; b=RdE3UHwx1Vh2bOvik3uM9FS+mAP6PoCamVdku7RnAALdCdzdNjbfufmAPYaEClA8ux W7Dl7XjExhMMm1UAYF487Oh9zhIilt2DqtxfkO2hXWq4W5/xG9hnHC4NG7Wl73HSZNsy Rd+VZk3tr5uIdsofht1mJhMekB/cYN8DyH5YE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kW2zdG0FPf3vPSi6heLizavvX4EyeFHVNNo/OcrDxks=; b=ZAC9Mg1tyoDR3EY/twDQbMM+6I/CdKU6jElCOv6JlJB/vpBWFuP4DKIHKIEKkn94rt JMEUJWsYGXE4E5UyzgfRfd9z74PNwwpJrFyqpbiIt9FzkPspbdYEu/TwhSgncXjtilVx VOBkddLkLVkRhMMCu/oU/TWJEAu/DSs+071CMy5wMWsKUIJgIUVVE7DHWRpOotENePf5 Ulqdieea3Ji524K1FGb+oClKKtuM4xBaEeemtDAO1IrYArVPPDpSKYQHQ83oEJ8qgZQK VCze0LetisZQuHjmaphG2YNepTJdxdWF+Uw0HlPaKz5EUkeb5Rqh9G16fGxO1f/DkH1A 2/cQ== X-Gm-Message-State: AKS2vOxCf7mRlAF7Mh9N4T4ZQ0HTXRovitMJHWDa7bvzRiTVjgtm4HJV bMTXO6RxbBlbb1Q2 X-Received: by 10.80.174.153 with SMTP id e25mr25199791edd.166.1499345866020; Thu, 06 Jul 2017 05:57:46 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5640:0:960b:2678:e223:c1c6]) by smtp.gmail.com with ESMTPSA id 2sm406636edt.36.2017.07.06.05.57.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2017 05:57:45 -0700 (PDT) From: Daniel Vetter To: DRI Development Cc: linux-fbdev@vger.kernel.org, Intel Graphics Development , Daniel Vetter , Dave Airlie , Gerd Hoffmann , virtualization@lists.linux-foundation.org, Daniel Vetter Subject: [PATCH 3/4] drm/qxl: Drop fbdev hwaccel flags Date: Thu, 6 Jul 2017 14:57:34 +0200 Message-Id: <20170706125735.28299-4-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170706125735.28299-1-daniel.vetter@ffwll.ch> References: <20170706125735.28299-1-daniel.vetter@ffwll.ch> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It's not accelarated, just system memory. Note we don't even need to set the default flag since that's now always 0. Cc: Dave Airlie Cc: Gerd Hoffmann Cc: virtualization@lists.linux-foundation.org Signed-off-by: Daniel Vetter --- drivers/gpu/drm/qxl/qxl_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c index 573e7e9a5f98..69e7359b562a 100644 --- a/drivers/gpu/drm/qxl/qxl_fb.c +++ b/drivers/gpu/drm/qxl/qxl_fb.c @@ -275,7 +275,7 @@ static int qxlfb_create(struct qxl_fbdev *qfbdev, drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth); - info->flags = FBINFO_DEFAULT | FBINFO_HWACCEL_COPYAREA | FBINFO_HWACCEL_FILLRECT; + info->flags = FBINFO_DEFAULT; info->fbops = &qxlfb_ops; /*