Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp121800imu; Thu, 8 Nov 2018 16:06:10 -0800 (PST) X-Google-Smtp-Source: AJdET5d+ESrhg6VY7/d38PXazWBrQ+XZ++kyazxfwL7aSaKuMm7YIp/JAeHSxih7FSM6arBEiN0M X-Received: by 2002:a17:902:163:: with SMTP id 90-v6mr6713644plb.87.1541721970478; Thu, 08 Nov 2018 16:06:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541721970; cv=none; d=google.com; s=arc-20160816; b=ucfoSTMCAv4fBk/gACZ1501t+30STkTmdNDzdyakGAp4GWiZl5NBjz4z5GQviKWyWY TiNDmJZpCU6uNfHgHX2N8PHoPF6do5c5Hveef39rL8YHBeSpYbsj97ItGYmXcA78guiY /54lK2TM192O8LedUTfaVG27tH2ihWwx+YJotLBCOoac6ffLY5LBsbvkpIMlDuXxOhf5 ldaWXQ90upBsQ0cxbGoSo9dQF/u0VhGzdfsDHMuv4aOEf5+/oJ2ML+m746Tv2eTYVfv1 ub/0qJUvfcssH8HIU4pY5i9PPkamrV4EkK3ZXnVjqzBh6l3fT1xCcSYvJgWlY9TuH7Fm bM6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=CAk+1k0shuYGopg8VVtccJNGDqJOzQz7q3/ZAZfqn88=; b=0Fz4CAATB4kYglpr2eH5TI+kgvmNGka2aIR/Zdj6hu+ECCPWBAX/bu9y5lPx6q8uJk vdAoKsZtG/+oqTWUfGROIk7+Y2v2/j3FsSh+0y3Fy08IYmTPzKuPJL8yHQmiGrNG5DXW Ab++Vi87d3yvapSqNfkp5H+ITOWVt2uIA63rIHnns3A6zagfBUnbZhLP95LdzuNapdOa aV26aZnFLreH6Ad1d8DiCUkHO0B5mB578WODk44N8abqwKwoaBGCkAUzqWOODO394mm1 XTsvLqqFQ0ZEnt3FBN5ZgL21FgifUuxIv3yd7XYEFkR3wyrF/xjboGfCf6FgFFDN/g84 cILw== 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 j185-v6si6005053pfc.186.2018.11.08.16.05.54; Thu, 08 Nov 2018 16:06:10 -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 S1727596AbeKIJmQ (ORCPT + 99 others); Fri, 9 Nov 2018 04:42:16 -0500 Received: from mail-vs1-f50.google.com ([209.85.217.50]:41886 "EHLO mail-vs1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727289AbeKIJmQ (ORCPT ); Fri, 9 Nov 2018 04:42:16 -0500 Received: by mail-vs1-f50.google.com with SMTP id t17so45350vsc.8 for ; Thu, 08 Nov 2018 16:04:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CAk+1k0shuYGopg8VVtccJNGDqJOzQz7q3/ZAZfqn88=; b=oAhZmuGexP0m72k3+vCsfgxU68+wAP0Ozd1XCi1eg1OwFYKX5pclNQTzaAUc8eu/ib DeFjxGJ/6bDh6h0ZdTj++cGD+JAvsoIhISXbpBbiUi9itDXN5/pS44f44fMEYFwt0LkY hhIazgCHaXkiySc2rRFIrhxMD5PbjUqVWH9cMrpajk3hYvM0YJOBbqcMci6MxJlXQlAs 6a9WkllvnVlr6WT+xrS5Gj2+tecJRaUNwgMgQt8+RGiaOpdu2Rm/YfVh0WRcMX7keq02 wQU7RcEZI4Kwtll5MMigLUpTjO/2nRzGl9vSWypA4xikgP3mMPR1NexqlAe+ydPqS0ss oi1A== X-Gm-Message-State: AGRZ1gL85Fx+rE/oZMHUwhkDa59it1u249aHghudVYatArKZLThkTfzf hJZrFLFVvwoEir1lni9LZUnZyzAyWX7T27FiyOC8WA== X-Received: by 2002:a67:6e87:: with SMTP id j129mr2959928vsc.171.1541721855642; Thu, 08 Nov 2018 16:04:15 -0800 (PST) MIME-Version: 1.0 References: <20181101162707.598c1718@endymion> <20181108130509.3b2d42ff@endymion> In-Reply-To: <20181108130509.3b2d42ff@endymion> From: David Airlie Date: Fri, 9 Nov 2018 10:04:03 +1000 Message-ID: Subject: Re: Performance regression in ast drm driver To: jdelvare@suse.de Cc: christian.koenig@amd.com, "Iwai, Takashi" , dri-devel , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 8, 2018 at 10:05 PM Jean Delvare wrote: > > On Thu, 1 Nov 2018 16:27:07 +0100, Jean Delvare wrote: > > Hi David, > > > > The following commit: > > > > commit 7cf321d118a825c1541b43ca45294126fd474efa > > Author: Dave Airlie > > Date: Mon Oct 24 15:37:48 2016 +1000 > > > > drm/drivers: add support for using the arch wc mapping API. > > > > is causing a huge performance regression for the ast drm driver. In a > > text console, if I call "cat" on a large text file, it takes almost > > twice as much time to be displayed and scrolled completely. > > > > Can you please check that the ast driver portion of that commit is both > > correct and complete? > > And in the meantime, what bad will happen if we just revert the ast > portion of that commit? > This seems likely to be a hw problem with PCI writes to the AST "GPU", since it's just some sort of RAM + ARM on the end of a PCIE bus, we've definitely seen possible issues in the past with write combining around some of the mga GPUs with some CPUs. Have we seen the problem across a number of AST devices? Dave.