[PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-28 Thread Samuel Li
To improve cpu read performance. This is implemented for APUs currently. Change-Id: I300a7daed8f2b0ba6be71a43196a6b8617ddc62e --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-29 Thread Christian König
Am 29.11.2017 um 01:20 schrieb Samuel Li: To improve cpu read performance. This is implemented for APUs currently. And once more a NAK for this approach. What we could do is migrate the BO to GTT during mmap, but pinning it is out of question. Regards, Christian. Change-Id: I300a7daed8f2

Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-29 Thread Christian König
Christian König [mailto:ckoenig.leichtzumer...@gmail.com] Sent: Wednesday, November 29, 2017 4:39 AM To: Li, Samuel ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf. Am 29.11.2017 um 01:20 schrieb Samuel Li: To improve cpu read performanc

RE: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-29 Thread Li, Samuel
gt; Subject: Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma > buf. > > And exactly that's the reason why it is a no-go. > > Scanning out from GTT isn't supported at the moment. > > Christian. > > Am 29.11.2017 um 15:48 schrieb Li, Samuel: >

Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-29 Thread Christian König
9, 2017 9:54 AM To: Li, Samuel ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf. And exactly that's the reason why it is a no-go. Scanning out from GTT isn't supported at the moment. Christian. Am 29.11.2017 um 15:48 schrieb

RE: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-29 Thread Li, Samuel
gt; Subject: Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma > buf. > > Am 29.11.2017 um 01:20 schrieb Samuel Li: > > To improve cpu read performance. This is implemented for APUs currently. > > And once more a NAK for this approach. > > What we could do

RE: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-29 Thread Li, Samuel
> -Original Message- > From: Koenig, Christian > Sent: Wednesday, November 29, 2017 10:01 AM > To: Li, Samuel ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma > buf. > > > What is the concern for scann

Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf.

2017-11-29 Thread Christian König
- From: Koenig, Christian Sent: Wednesday, November 29, 2017 9:54 AM To: Li, Samuel ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/1] drm/amdgpu: Pin to gtt before cpu accesses dma buf. And exactly that's the reason why it is a no-go. Scanning out from GTT isn't supported at the