[rfc] fix for regression in pat memory tracking in 4.9-rc1

Dave Airlie airlied at gmail.com
Tue Oct 18 06:13:10 UTC 2016


Okay I spent some time looking into it, and this is the result.

We have to manually insert the VRAM BAR into the pat memory tracking
table as WC. The only other way things get inserted are via ioremap,
which we never do for the whole VRAM BAR. We could in theory map
the VRAM BAR using the iomap stuff that i915 uses, but we don't
and this seems easier for now.

We have to fix up at least nouveau and radeon I think as well.

Dave.



More information about the dri-devel mailing list