Re: [pull] amdgpu, amdkfd, ttm, sched drm-next-5.1

2019-02-03 Thread Dave Airlie
On Mon, 4 Feb 2019 at 13:27, Dave Airlie wrote: > > On Sat, 26 Jan 2019 at 09:15, Alex Deucher wrote: > > > > Hi Dave, Daniel, > > > > New stuff for 5.1. > > amdgpu: > > - DC bandwidth formula updates > > - Support for DCC on scanout surfaces > > - Support for multiple IH rings on soc15 asics >

Re: [pull] amdgpu, amdkfd, ttm, sched drm-next-5.1

2019-02-03 Thread Dave Airlie
On Sat, 26 Jan 2019 at 09:15, Alex Deucher wrote: > > Hi Dave, Daniel, > > New stuff for 5.1. > amdgpu: > - DC bandwidth formula updates > - Support for DCC on scanout surfaces > - Support for multiple IH rings on soc15 asics > - Fix xgmi locking > - Add sysfs interface to get pcie usage stats >

Re: [PATCH] drm/amdkfd: Fix if preprocessor statement above kfd_fill_iolink_info_for_cpu

2019-02-03 Thread Dave Airlie
Alex, can you get this into next and resend the pull? I don't like adding warnings. Dave. On Fri, 1 Feb 2019 at 06:10, Kuehling, Felix wrote: > > Thank you, Nathan. I applied your patch to amd-staging-drm-next. > > Sorry for the late response. I'm catching up with my email backlog after > a

Re: [PATCH 15/35] drm/amd/display: make vline_config parameter const.

2019-02-03 Thread Nils Wallménius
Hi, It seems the commit title is a little confusing. The change is to now pass by (const) reference rather than by value. Regards Nils Den fre 1 feb. 2019 16:29 skrev Bhawanpreet Lakha : > From: Yongqiang Sun > > Change-Id: Icfe018c7579ad2b3ef65195f578b8e44422d53f3 > Signed-off-by: Yongqiang

Re: [PATCH 05/35] drm/amd/display: Initialize stream_update to zero

2019-02-03 Thread Nils Wallménius
Hi, Recently several locations initing structs to zero have been changed to use memset [1]. Might want to do that here as well. [1] https://lists.freedesktop.org/archives/amd-gfx/2019-February/031116.html Regards Nils Den fre 1 feb. 2019 16:29 skrev Bhawanpreet Lakha : > From: Nicholas

Re: [PATCH] drm/amd/powerplay: update soc boot and max level on vega10

2019-02-03 Thread Alex Deucher
On Sat, Feb 2, 2019 at 10:26 PM Kenneth Feng wrote: > > update soc boot and max level,then uclk isn't stuck > at minimum. > Add: Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109462 With that, Acked-by: Alex Deucher > Signed-off-by: Kenneth Feng > --- >

[PATCH 1/6] drm: Fix drm_release() and device unplug

2019-02-03 Thread Noralf Trønnes
If userspace has open fd(s) when drm_dev_unplug() is run, it will result in drm_dev_unregister() being called twice. First in drm_dev_unplug() and then later in drm_release() through the call to drm_put_dev(). Since userspace already holds a ref on drm_device through the drm_minor, it's not

Re: [PATCH v3] drm/amdgpu: Add AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES

2019-02-03 Thread Koenig, Christian
Am 01.02.19 um 22:41 schrieb Andrey Grodzovsky: > New chunk for dependency on start of job's execution instead on > the end. This is used for GPU deadlock prevention when > userspace uses mid-IB fences to wait for mid-IB work on other rings. > > v2: Fix typo in

[PATCH 0/6] drm/drv: Remove drm_dev_unplug()

2019-02-03 Thread Noralf Trønnes
This series removes drm_dev_unplug() and moves the unplugged state setting to drm_dev_unregister(). All drivers will now have access to the unplugged state if they so desire. The drm_device ref handling wrt to the last fd closed after unregister have been simplified, which also fixed a double

[PATCH 3/6] drm/amd: Use drm_dev_unregister()

2019-02-03 Thread Noralf Trønnes
drm_dev_unplug() has been stripped down and is going away. Open code its 2 remaining function calls. Cc: Alex Deucher Cc: Christian König Cc: David (ChunMing) Zhou Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 2/6] drm/drv: Prepare to remove drm_dev_unplug()

2019-02-03 Thread Noralf Trønnes
The only thing now that makes drm_dev_unplug() special is that it sets drm_device->unplugged. Move this code to drm_dev_unregister() so that we can remove drm_dev_unplug(). Signed-off-by: Noralf Trønnes --- Maybe s/unplugged/unregistered/ ? I looked at drm_device->registered, but using that

[PATCH 6/6] drm/drv: Remove drm_dev_unplug()

2019-02-03 Thread Noralf Trønnes
There are no users left. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_drv.c | 17 - include/drm/drm_drv.h | 1 - 2 files changed, 18 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index e0941200edc6..87210d4a9e53 100644 ---

[PATCH 4/6] drm/udl: Use drm_dev_unregister()

2019-02-03 Thread Noralf Trønnes
drm_dev_unplug() has been stripped down and is going away. Open code its 2 remaining function calls. Cc: Dave Airlie Cc: Sean Paul Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/udl/udl_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 5/6] drm/xen: Use drm_dev_unregister()

2019-02-03 Thread Noralf Trønnes
drm_dev_unplug() has been stripped down and is going away. Open code its 2 remaining function calls. Also remove the drm_dev_is_unplugged() check since this can't be true before drm_dev_unregister() is called which happens after the check. Cc: Oleksandr Andrushchenko Signed-off-by: Noralf