All of lore.kernel.org
 help / color / mirror / Atom feed
* [rfc] fix for regression in pat memory tracking in 4.9-rc1
@ 2016-10-18  6:13 Dave Airlie
  2016-10-18  6:13 ` [PATCH 1/3] x86/pat: export io memory reserve/free api Dave Airlie
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Dave Airlie @ 2016-10-18  6:13 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w
  Cc: shawn.starr-bJEeYj9oJeDQT0dZR+AlfA

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.

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-10-22 22:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18  6:13 [rfc] fix for regression in pat memory tracking in 4.9-rc1 Dave Airlie
2016-10-18  6:13 ` [PATCH 1/3] x86/pat: export io memory reserve/free api Dave Airlie
     [not found]   ` <1476771193-2759-2-git-send-email-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-10-18  7:22     ` Edward O'Callaghan
     [not found]       ` <d5dcf484-d760-8fe6-bc00-4d6db3ef9d05-dczkZgxz+BNUPWh3PAxdjQ@public.gmane.org>
2016-10-18  8:29         ` Dave Airlie
     [not found]           ` <CAPM=9tx2iBaHt-bg_WjUHE3wPprs2GvNt1LZNLngF-GLH2U_Zw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-18 12:31             ` Edward O'Callaghan
2016-10-22 22:15     ` Shawn Starr
     [not found] ` <1476771193-2759-1-git-send-email-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-10-18  6:13   ` [PATCH 2/3] drm/ttm: add API to reserve/free WC memory Dave Airlie
2016-10-18  6:13   ` [PATCH 3/3] amdgpu: reserve VRAM ranges in PAT memtype tables Dave Airlie
2016-10-18  7:51 ` [rfc] fix for regression in pat memory tracking in 4.9-rc1 Daniel Vetter

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.