From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5
Date: Fri, 06 Aug 2010 09:03:01 -0700 [thread overview]
Message-ID: <4C5C3235.3060208@goop.org> (raw)
In-Reply-To: <20100806140609.GA3367@phenom.dumpdata.com>
On 08/06/2010 07:06 AM, Konrad Rzeszutek Wilk wrote:
> Hey Jeremy,
>
> Please pull from devel/pat (based off your xen/dom0/core tree) which
> has one patch:
>
> Konrad Rzeszutek Wilk (1):
> xen/pat: make pte_flags(x) a pvops function.
>
> which is neccessary for the drivers/gpu/drm/radeon driver to work
> properly with AGP based cards (which look to be the only ones that
> try to set WC on pages).
Hm. I introduced pte_flags() so that code which wants to get the flags
but not the pfn can do so without needing to make a pvops call, which
significantly reduces the number of pvops calls in the mm code.
However, the original rationale for making it non-pvops - nobody fiddles
with pte flags - is no longer true with the PAT translation. And it is
pretty ugly that pte_val and pte_flags will return different flags for a
pte. But I'm still leery about imposing the cost of making pte_flags a
pvop.
Why is it needed? Could the AGP/Radeon code use pte_val to get the
flags values it wants?
> Also please pull from devel/kms.fixes-05 (based off your xen/dom0/agp)
> which has the following patches:
>
> Daniel De Graaf (1):
> fb: propagate VM_IO to VMA.
>
> Konrad Rzeszutek Wilk (10):
> ttm: When TTM_PAGE_FLAG_DMA32 allocate pages under 4GB under Xen.
> ttm: Set VM_IO only on pages with TTM_MEMTYPE_FLAG_NEEDS_IOREMAP set.
> agp: Use Xen back-door to get bus address for legacy code.
> agp: Program the GART with the real physical address under Xen.
> agp: If _GFP_DMA_32 flag is set enforce pages to be under 4GB under Xen.
> agp-backend: Use Xen back-door to get bus address for scratch page.
> intel-agp: Warn when !USE_PCI_DMA_API and inserting bogus bus addresses.
> intel-agp: Use Xen back-door to get page's physical address for i8[1,3]0
> amd64-agp:Use Xen back-door to get page's physical address for AMD64 chipsets.
> ttm: Change VMA flags if they != to the TTM flags.
>
> Some of them are marked as not for upstream consumption, while some of
> the other are OK (and Daniel's is upstream). Those patches from both
> branches make it possible to have Xorg working with the following
> graphics cards on the PVOPS kernel:
I assume this depends on the pte_flags change?
> RIVA TNT2 Pro
> GeForce 1 256
> GeForce 4 Ti 4200
> GeForce 6150
> GeForce 6200
> GeForce 7300
> GeForce 8600 GT
> Radeon R100 QD (7200)
> Radeon RV100QY (7000)
> Radeon HD 3200
> Radeon HD 3450
> Radeon RV710 [Radeon HD 4350]
> Radeon ES1000
> ICH5 82865G
> ICH7 82G33/G31G
> ICH8 82Q963/Q965
> Matrox G450
> XGI Z7/Z9 (XG20 core)
>
> Testing was carried out using Fedora Core 13, Fedora Core 11, and Ubuntu
> Lucid 10.04 with the PVOPS kernel.
>
> The details are located at http://wiki.xensource.com/xenwiki/XenPVOPSDRM
> For the NVidia cards I backported the 2.6.34 nouvoua driver in 2.6.32
> and used that - it is pretty stable and even the experimental Gallium
> drivers (3D) work well.
J
next prev parent reply other threads:[~2010-08-06 16:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 14:06 [GIT PULL] devel/pat + devel/kms.fixes-0.5 Konrad Rzeszutek Wilk
2010-08-06 16:03 ` Jeremy Fitzhardinge [this message]
2010-08-06 16:57 ` Konrad Rzeszutek Wilk
2010-08-15 20:41 ` Pasi Kärkkäinen
2010-08-15 20:52 ` [GIT PULL] devel/pat + devel/kms.fixes-0.5 / dma-api check_unmap() warning Pasi Kärkkäinen
2010-08-16 16:31 ` Konrad Rzeszutek Wilk
2010-08-16 17:50 ` Pasi Kärkkäinen
2010-09-01 21:10 ` Konrad Rzeszutek Wilk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C5C3235.3060208@goop.org \
--to=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.