[PATCH 07/13] drm/radeon: use simpler remove_conflicting_pci_framebuffers()

2017-11-24 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- drivers/gpu/drm/radeon/radeon_drv.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index 31dd04f6baa1..49f51b17ae81 100644 --- a/drivers/gpu/d

[PATCH 00/13] remove_conflicting_framebuffers() cleanup

2017-11-24 Thread Michał Mirosław
This series cleans up duplicated code for replacing firmware FB driver with proper DRI driver and adds handover support to Tegra driver. The last patch is here because it uses new semantics of remove_conflicting_framebuffers() from this series. This can be considered independently, though. --- M

[PATCH 02/13] fbdev: add remove_conflicting_pci_framebuffers()

2017-11-24 Thread Michał Mirosław
Almost all drivers using remove_conflicting_framebuffers() wrap it with the same code. Extract common part from PCI drivers into separate remove_conflicting_pci_framebuffers(). Signed-off-by: Michał Mirosław --- drivers/video/fbdev/core/fbmem.c | 22 ++ include/drm/drm_fb_hel

[PATCH 03/13] drm/amdgpu: use simpler remove_conflicting_pci_framebuffers()

2017-11-24 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index dd2f060d62a8..b726222b7dd4 100644 --- a/d

[PATCH] xf86-video-ati: Fix non GLAMOR build

2017-11-24 Thread Joakim Tjernlund
Non GLAMOR builds needs pRADEONEnt so move the USE_GLAMOR define down to make pRADEONEnt defined in this case. Signed-off-by: Joakim Tjernlund --- src/radeon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radeon.h b/src/radeon.h index d54e4990..3e04101c 100644 --- a/sr

[PATCH] drm/amdkfd: Delete a useless parameter from create_queue function pointer

2017-11-24 Thread Yong Zhao
Signed-off-by: Yong Zhao Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 13 +++-- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 3 +-- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 6 ++ 3 files changed, 6 insertions(+

Re: [PATCH] drm/amdkfd: Delete a useless parameter from create_queue function pointer

2017-11-24 Thread Zhao, Yong
I based it on amd-staging-drm-next. I will pull from amdkfd-next, remove Change-Id from and add you in commit message. Regards, Yong From: Kuehling, Felix Sent: Friday, November 24, 2017 4:44:48 PM To: Zhao, Yong; oded.gab...@gmail.com; amd-gfx@lists.freedeskto

[PATCH] drm/amdkfd: Delete a useless parameter from create_queue function pointer

2017-11-24 Thread Yong Zhao
Change-Id: Ia5c74ad567c30e206ed804b204fdf8a0f8a75a19 Signed-off-by: Yong Zhao --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 14 -- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 3 +-- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 3 +-- 3 files c

Re: [PATCH] drm/amd/display: check plane state before validating fbc

2017-11-24 Thread Andrey Grodzovsky
The patch is good, but why validate_fbc is being called from dce110_apply_ctx_to_hw (atomic_commit) ? It should be called from atomic_check. Thanks, Andrey On 2017-11-22 02:13 AM, S, Shirish wrote: From: Shirish S While validation fbc, array_mode of the pipe is accessed without checking pl

Re: [PATCH] drm/amd/display: remove usage of legacy_cursor_update

2017-11-24 Thread Andrey Grodzovsky
On 2017-11-23 01:16 AM, S, Shirish wrote: From: Shirish S Currently the atomic check code uses legacy_cursor_update to differnetiate if the cursor plane is being requested by the user, which is not required as we shall be updating plane only if modeset is requested/required. Have tested cu

Re: [PATCH] drm/amdkfd: Delete a useless parameter from create_queue function pointer

2017-11-24 Thread Felix Kuehling
Hi Oded, Yong made this patch against our internal KFD branch. I asked him to send it to upstream as well, since it applies to code I have already upstreamed. I'm going to do this for more patches in the future as more KFD code is upstream and more of our internal changes are applicable upstream d

[PATCH] drm/amdkfd: Delete a useless parameter from create_queue function pointer

2017-11-24 Thread Yong Zhao
Change-Id: Ia5c74ad567c30e206ed804b204fdf8a0f8a75a19 Signed-off-by: Yong Zhao --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 14 -- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 3 +-- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 3 +-- 3 files c

Re: [PATCH] drm/amdgpu: don't try to move pinned BOs

2017-11-24 Thread Michel Dänzer
On 2017-11-24 11:46 AM, Christian König wrote: > Never try to move pinned BOs during CS. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c > b/drivers/gpu/drm/amd

[PATCH] drm/amd/display: Print type if we get wrong ObjectID from bios

2017-11-24 Thread Harry Wentland
We've seen a bunch of issues where we can't get the connector from vbios for what we think should be a valid connector id. Print some more info when this happens. Change-Id: I96aee657ed4632fbc0ab313671da356dc225c8c4 Signed-off-by: Harry Wentland --- Hi Shawn, mind trying this patch? It won't fi

[PATCH] drm/amdgpu: fix amdgpu_sync_resv v2

2017-11-24 Thread Christian König
Fixes a bug introduced by AMDGPU_GEM_CREATE_EXPLICIT_SYNC. We still need to wait for pipelined moves in the shared fences list. v2: fix typo Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dri

[PATCH] drm/amdgpu: don't try to move pinned BOs

2017-11-24 Thread Christian König
Never try to move pinned BOs during CS. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index dbae7411e754..d15836b4826a 100644 --- a

[PATCH] drm/amdgpu: fix amdgpu_sync_resv

2017-11-24 Thread Christian König
Fixes a bug introduced by AMDGPU_GEM_CREATE_EXPLICIT_SYNC. We still need to wait for pipelined moves in the shared fences list. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/a

Re: [PATCH 28/43] drm/amd/display: Switch to drm_atomic_helper_wait_for_flip_done

2017-11-24 Thread Michel Dänzer
On 2017-11-23 08:53 PM, Harry Wentland wrote: > From: Andrey Grodzovsky > > This new helper function is advised to be used for drviers that > use the nonblocking commit tracking support instead of > drm_atomic_helper_wait_for_vblanks. > > Signed-off-by: Andrey Grodzovsky > Reviewed-by: Harry We

Re: [PATCH v9 4/5] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 30h-3fh) Processors v5

2017-11-24 Thread Boris Ostrovsky
On 11/23/2017 03:11 AM, Christian König wrote: Am 22.11.2017 um 18:27 schrieb Boris Ostrovsky: On 11/22/2017 11:54 AM, Christian König wrote: Am 22.11.2017 um 17:24 schrieb Boris Ostrovsky: On 11/22/2017 05:09 AM, Christian König wrote: Am 21.11.2017 um 23:26 schrieb Boris Ostrovsky: On 11

Re: [PATCH 00/16] Cleanup vega10 header files.

2017-11-24 Thread Christian König
Thanks, finally somebody who wants to take care of this. Whole series is Acked-by: Christian König . Regards, Christian. Am 24.11.2017 um 07:26 schrieb Feifei Xu: To avoid duplication of header files,amd/include/asic_reg/vega10 will be removed. Header files under this folder will be moved to c