All of lore.kernel.org
 help / color / mirror / Atom feed
* PRT support for amdgpu
@ 2017-01-30 12:57 Christian König
       [not found] ` <1485781060-1910-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
  0 siblings, 1 reply; 25+ messages in thread
From: Christian König @ 2017-01-30 12:57 UTC (permalink / raw)
  To: bas-dldO88ZXqoXqqjsSq9zF6IRWq/SkRNHw,
	airlied-Re5JQEeQqe8AvxtiuMwx3w
  Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi Dave and Bas,

Hi Dave and Bas,

the following set of patches is a proposal for adding support for partial resident textures (PRT) to the amdgpu kernel module.

The basic idea behind PRT support is that you turn of VM fault reporting and only map parts of a texture into your virtual address space.

When a shader now tries to sample from a not present page it gets a notification instead of a VM fault and can react gracefully by switch to a different LOD for example.

On our current available hardware generation you can unfortunately only turn of VM faults globally, but on future generation you can do this on a per page basis. So my proposal is to have a consistent interface over all generations with a per mapping PRT flag, but enable/disable it globally on current hardware when the first/last mapping is made/destroyed.

An open problem with the proposal is that we don't know when or if we want to add the userspace implementation into radeonsi.

So price question could you guys use this for radv as well? Or is it sufficient to just write an unit test for it?

Best regards,
Christian.

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

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

end of thread, other threads:[~2017-02-02 12:27 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-30 12:57 PRT support for amdgpu Christian König
     [not found] ` <1485781060-1910-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-30 12:57   ` [PATCH 1/6] drm/amdgpu: add support for BO_VAs without BO Christian König
     [not found]     ` <1485781060-1910-2-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-30 14:43       ` Nicolai Hähnle
     [not found]         ` <51ab062e-733b-bde8-ed41-c14fda72519a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-02 10:26           ` Christian König
     [not found]             ` <f3cd0c09-3d57-84e8-b7e4-6fc3dded5974-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-02-02 12:27               ` Nicolai Hähnle
2017-01-30 12:57   ` [PATCH 2/6] drm/amdgpu: add basic PRT support Christian König
2017-01-30 12:57   ` [PATCH 3/6] drm/amdgpu: IOCTL interface for PRT support v3 Christian König
2017-01-30 12:57   ` [PATCH 4/6] drm/amdgpu: implement PRT for GFX6 Christian König
     [not found]     ` <1485781060-1910-5-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-30 13:59       ` StDenis, Tom
     [not found]         ` <CY4PR12MB1768231152C68AFABF76535AF74B0-rpdhrqHFk06yjjPBNVDk/QdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-01-30 14:14           ` Christian König
     [not found]             ` <fc54cc73-6b75-59b3-f67a-9a395d749e23-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-30 14:15               ` StDenis, Tom
     [not found]                 ` <CY4PR12MB1768D597CD5AA969E892F02FF74B0-rpdhrqHFk06yjjPBNVDk/QdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-01-30 14:26                   ` Christian König
2017-01-30 12:57   ` [PATCH 5/6] drm/amdgpu: implement PRT for GFX7 Christian König
2017-01-30 12:57   ` [PATCH 6/6] drm/amdgpu: implement PRT for GFX8 Christian König
2017-01-30 14:55   ` PRT support for amdgpu Nicolai Hähnle
2017-01-31 13:06   ` Bas Nieuwenhuizen
     [not found]     ` <1485867969.839629.865389344.09B29312-2RFepEojUI2N1INw9kWLP6GC3tUn3ZHUQQ4Iyu8u01E@public.gmane.org>
2017-01-31 16:28       ` Christian König
     [not found]         ` <ba418c16-e2ca-ddff-4147-387e5b7a2d14-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-02-01 12:19           ` Nicolai Hähnle
2017-02-02  1:49           ` Dave Airlie
     [not found]             ` <CAPM=9tzUNgK5MHVBaMzVsn-z=Pn-nSBFTswUcGc+zttbYLE7FA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-02-02  9:18               ` Nicolai Hähnle
     [not found]                 ` <720067e3-c786-0af0-aec6-dfd1f41db378-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-02  9:29                   ` Bas Nieuwenhuizen
     [not found]                     ` <1486027743.694234.867769672.09921E90-2RFepEojUI2N1INw9kWLP6GC3tUn3ZHUQQ4Iyu8u01E@public.gmane.org>
2017-02-02  9:33                       ` Nicolai Hähnle
     [not found]                         ` <0ace8731-3737-a88d-807c-f30d7be9070e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-02  9:41                           ` Christian König
2017-01-31 16:09   ` Alex Deucher
     [not found]     ` <CADnq5_P1qAznmzCaYahL0ud=HhCR+8BD3RUVEpm32nZx-STVmA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-31 16:42       ` Christian König

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.