Re:[PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread Zhou, David(ChunMing)
yes,per submission bo list priority already is used by us. but per vm bo still is in fly, no priority on that. -David send from my phone Original Message Subject: Re: [PATCH] drm/amdgpu: enable bo priority setting from user space From: "Koenig, Christian" To: &q

Re: [PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread Koenig, Christian
right, thanks to point it out. Will see if there is other way. -David send from my phone Original Message Subject: Re: [PATCH] drm/amdgpu: enable bo priority setting from user space From: Christian König To: "Zhou, David(ChunMing)" ,amd-gfx@lists.freedesktop.org<m

Re:[PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread Zhou, David(ChunMing)
Yes, you are right, thanks to point it out. Will see if there is other way. -David send from my phone Original Message Subject: Re: [PATCH] drm/amdgpu: enable bo priority setting from user space From: Christian König To: "Zhou, David(ChunMing)" ,amd-gfx@lists.freed

Re: [PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread Christian König
Am 07.03.19 um 10:15 schrieb Chunming Zhou: Signed-off-by: Chunming Zhou Well NAK to the whole approach. The TTM priority is a global priority, but processes are only allowed to specific the priority inside their own allocations. So this approach will never fly upstream. What you can do i

Re: [PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread Michel Dänzer
On 2019-03-07 11:48 a.m., zhoucm1 wrote: > On 2019年03月07日 17:55, Michel Dänzer wrote: >> On 2019-03-07 10:15 a.m., Chunming Zhou wrote: >>> Signed-off-by: Chunming Zhou >> Please provide corresponding UMD patches showing how this is to be used. > spec is here: > https://www.khronos.org/registry/vu

Re: [PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread zhoucm1
On 2019年03月07日 17:55, Michel Dänzer wrote: On 2019-03-07 10:15 a.m., Chunming Zhou wrote: Signed-off-by: Chunming Zhou Please provide corresponding UMD patches showing how this is to be used. spec is here: https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html, pleas

Re: [PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread Michel Dänzer
On 2019-03-07 10:15 a.m., Chunming Zhou wrote: > Signed-off-by: Chunming Zhou Please provide corresponding UMD patches showing how this is to be used. > @@ -229,6 +231,14 @@ int amdgpu_gem_create_ioctl(struct drm_device *dev, void > *data, > if (args->in.domains & ~AMDGPU_GEM_DOMAIN_MASK

[PATCH] drm/amdgpu: enable bo priority setting from user space

2019-03-07 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c| 13 + drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h| 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h |