[PATCH] drm/amdgpu: rename gfxhub_v1_0 to gfxhub_v9_0

2017-07-20 Thread Hawking Zhang
Change-Id: Ib721fdefede870ff7ada1efbd57d4f744790f31e Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 343 --- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h | 36 drivers/gpu/drm/amd/amdgpu/

Re: [Mesa-dev] [RFC PATCH] radeonsi: set a per-buffer flag that disables inter-process sharing (v2)

2017-07-20 Thread zhoucm1
On 2017年07月20日 22:59, Marek Olšák wrote: On Jul 19, 2017 10:21 PM, "zhoucm1" > wrote: On 2017年07月19日 23:34, Marek Olšák wrote: On Jul 19, 2017 3:36 AM, "zhoucm1" mailto:david1.z...@amd.com>> wrote: On 2017年07月19日 04:08, Marek Olšák wrote:

[PATCH] drm/amdgpu: reduce the time of reading VBIOS

2017-07-20 Thread Xiangliang . Yu
From: Xiangliang Yu Change ioremap mode from noncache to write combine and it will reduce the read vbios time from 188ms to 8ms. Signed-off-by: Xiangliang Yu Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [PATCH] drm/amdgpu: Fix blocking in RCU critical section(v2)

2017-07-20 Thread Emil Velikov
Hi Alex, On 20 July 2017 at 03:46, Alex Xie wrote: > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c > @@ -198,12 +198,18 @@ amdgpu_bo_list_get(struct amdgpu_fpriv *fpriv, int id) > result = idr_find(&fpriv->bo_list_handles, id); > >

Re: [PATCH 1/6] drm: Add helper to cast DMA-buf to GEM object v2

2017-07-20 Thread Felix Kuehling
On 17-07-19 08:35 AM, William Lewis wrote: > > On 07/18/2017 09:22 PM, Felix Kuehling wrote: >> @@ -609,16 +634,14 @@ struct drm_gem_object *drm_gem_prime_import(struct >> drm_device *dev, >> struct drm_gem_object *obj; >> int ret; >> >> -if (dma_buf->ops == &drm_gem_prime_dmabuf_

Re: [Mesa-dev] [RFC PATCH] radeonsi: set a per-buffer flag that disables inter-process sharing (v2)

2017-07-20 Thread Christian König
Am 20.07.2017 um 16:59 schrieb Marek Olšák: On Jul 19, 2017 10:21 PM, "zhoucm1" > wrote: On 2017年07月19日 23:34, Marek Olšák wrote: On Jul 19, 2017 3:36 AM, "zhoucm1" mailto:david1.z...@amd.com>> wrote: On 2017年07月19日 04:08, Marek Olšák wrote:

Re: [PATCH] drm/amdgpu: Fix blocking in RCU critical section(v2)

2017-07-20 Thread Christian König
Yeah, with the coding style fixed Reviewed-by: Christian König as well. Christian. Am 20.07.2017 um 05:01 schrieb zhoucm1: one small nit pick, with that fix, Reviewed-by: Chunming Zhou On 2017年07月20日 10:46, Alex Xie wrote: In RCU read-side critical sections, blocking or sleeping is prohib

Re: [PATCH 1/6] drm: Add helper to cast DMA-buf to GEM object v2

2017-07-20 Thread William Lewis
On 07/18/2017 09:22 PM, Felix Kuehling wrote: > v2: Use the new helper in drm_gem_prime_import > > Signed-off-by: Felix Kuehling > Reviewed-by: Christian König > Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/drm_prime.c | 43 +-- > include/drm/dr

Re: [Mesa-dev] [RFC PATCH] radeonsi: set a per-buffer flag that disables inter-process sharing (v2)

2017-07-20 Thread Marek Olšák
On Jul 19, 2017 10:21 PM, "zhoucm1" wrote: On 2017年07月19日 23:34, Marek Olšák wrote: On Jul 19, 2017 3:36 AM, "zhoucm1" wrote: On 2017年07月19日 04:08, Marek Olšák wrote: > From: Marek Olšák > > For lower overhead in the CS ioctl. > Winsys allocators are not used with interprocess-sharable

RE: [PATCH 3/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v6

2017-07-20 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Thursday, July 20, 2017 3:36 AM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray > Subject: [PATCH 3/3] drm/amdgpu: fix the incorrect scratch reg number on > gfx v6 > >

Re: [Mesa-dev] [RFC PATCH] radeonsi: set a per-buffer flag that disables inter-process sharing (v2)

2017-07-20 Thread Samuel Pitoiset
On 07/20/2017 04:20 AM, zhoucm1 wrote: On 2017年07月19日 23:34, Marek Olšák wrote: On Jul 19, 2017 3:36 AM, "zhoucm1" > wrote: On 2017年07月19日 04:08, Marek Olšák wrote: From: Marek Olšák mailto:marek.ol...@amd.com>> For lower overhead in th

Re: [PATCH 1/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v8

2017-07-20 Thread Zhang, Jerry (Junwei)
the serial of patch are Reviewed-by: Junwei Zhang On 07/20/2017 03:36 PM, Huang Rui wrote: Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amd

[PATCH 2/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v7

2017-07-20 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index 8c4dd7b..42b932c 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/dri

[PATCH 3/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v6

2017-07-20 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index 5173ca1..4ac85f4 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +++ b/dri

[PATCH 1/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v8

2017-07-20 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 181eba5..b58d98d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/dri