Re: [Nouveau] [PATCH 1/4] drm/nouveau: dispnv50: Don't create MSTMs for eDP connectors

2019-09-14 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v5.2.14, v4.19.72, v4.14.143, v4.9.192, v4.4.192. v5.2.14: Build OK! v4.19.72:

Re: [Nouveau] [PATCH v2 23/27] drm/amdgpu: Iterate through DRM connectors correctly

2019-09-14 Thread Alex Deucher
On Tue, Sep 3, 2019 at 4:49 PM Lyude Paul wrote: > > Currently, every single piece of code in amdgpu that loops through > connectors does it incorrectly and doesn't use the proper list iteration > helpers, drm_connector_list_iter_begin() and > drm_connector_list_iter_end(). Yeesh. > > So, do

[Nouveau] possible deadlock in __mmu_notifier_invalidate_range_end

2019-09-14 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:6d028043 Add linux-next specific files for 20190830 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16cbf22a60 kernel config: https://syzkaller.appspot.com/x/.config?x=82a6bec43ab0cb69

[Nouveau] [PATCH v2 23/27] drm/amdgpu: Iterate through DRM connectors correctly

2019-09-14 Thread Lyude Paul
Currently, every single piece of code in amdgpu that loops through connectors does it incorrectly and doesn't use the proper list iteration helpers, drm_connector_list_iter_begin() and drm_connector_list_iter_end(). Yeesh. So, do that. Cc: Juston Li Cc: Imre Deak Cc: Ville Syrjälä Cc: Harry

[Nouveau] [PATCH v2 25/27] drm/dp_mst: Add basic topology reprobing when resuming

2019-09-14 Thread Lyude Paul
Finally! For a very long time, our MST helpers have had one very annoying issue: They don't know how to reprobe the topology state when coming out of suspend. This means that if a user has a machine connected to an MST topology and decides to suspend their machine, we lose all topology changes

[Nouveau] X.Org Endless Vacation of Code programs

2019-09-14 Thread Ayush Goyal
Hi I am Ayush Goyal from India currently doing B.E. in my final year. I would like to know that whether project Instruction Scheduler is open to contribute and what are the steps to be taken to contribute in it. I would like to build it and also if you can brief me about it as there is very less

[Nouveau] [PATCH v2 00/27] DP MST Refactors + debugging tools + suspend/resume reprobing

2019-09-14 Thread Lyude Paul
This is the large series for adding MST suspend/resume reprobing that I've been working on for quite a while now. In addition, I: - Refactored and cleaned up any code I ended up digging through in the process of understanding how some parts of these helpers worked. - Added some debugging tools

[Nouveau] [PATCH v2 24/27] drm/amdgpu/dm: Resume short HPD IRQs before resuming MST topology

2019-09-14 Thread Lyude Paul
Since we're going to be reprobing the entire topology state on resume now using sideband transactions, we need to ensure that we actually have short HPD irqs enabled before calling drm_dp_mst_topology_mgr_resume(). So, do that. Cc: Juston Li Cc: Imre Deak Cc: Ville Syrjälä Cc: Harry Wentland

[Nouveau] [PATCH 0/9] drm/print: add and use drm_debug_enabled()

2019-09-14 Thread Jani Nikula
Hi all, just a little refactoring around drm_debug access to abstract it better. There shouldn't be any functional changes. I'd appreciate acks for merging the lot via drm-misc. If there are any objections to that, we'll need to postpone the last patch until everything has been merged and

[Nouveau] [PATCH 7/9] drm/nouveau: use drm_debug_enabled() to check for debug categories

2019-09-14 Thread Jani Nikula
Allow better abstraction of the drm_debug global variable in the future. No functional changes. Cc: Ben Skeggs Cc: nouveau@lists.freedesktop.org Signed-off-by: Jani Nikula --- drivers/gpu/drm/nouveau/dispnv50/disp.h | 4 ++-- drivers/gpu/drm/nouveau/nouveau_drv.h | 4 ++-- 2 files changed, 4

[Nouveau] [PATCH 1/8] drm/ttm: turn ttm_bo_device.vma_manager into a pointer

2019-09-14 Thread Gerd Hoffmann
Rename the embedded struct vma_offset_manager, new name is _vma_manager. ttm_bo_device.vma_manager changed to a pointer. The ttm_bo_device_init() function gets an additional vma_manager argument which allows to initialize ttm with a different vma manager. When passing NULL the embedded

Re: [Nouveau] [PATCH 1/8] drm/ttm: turn ttm_bo_device.vma_manager into a pointer

2019-09-14 Thread Christian König
Am 05.09.19 um 09:05 schrieb Gerd Hoffmann: Rename the embedded struct vma_offset_manager, new name is _vma_manager. ttm_bo_device.vma_manager changed to a pointer. The ttm_bo_device_init() function gets an additional vma_manager argument which allows to initialize ttm with a different vma

[Nouveau] [PATCH] drm/nouveau: add missing single_release()

2019-09-14 Thread Wei Yongjun
When using single_open() for opening, single_release() should be used, otherwise there is a memory leak. This is detected by Coccinelle semantic patch. Fixes: 6e9fc177399f ("drm/nouveau/debugfs: add copy of sysfs pstate interface ported to debugfs") Signed-off-by: Wei Yongjun ---