RE: [PATCH 3/6] drm/amd/powerplay: Ignore smu buffer usage

2016-11-30 Thread Yu, Xiangliang
> > > -Original Message- > > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > > Of Xiangliang Yu > > Sent: Wednesday, November 30, 2016 2:02 AM > > To: amd-gfx@lists.freedesktop.org > > Cc: Yu, Xiangliang; Liu, Monk > > Subject: [PATCH 3/6] drm/amd/powerplay: Ignore

RE: [PATCH 4/6] drm/amdgpu: Avoid use KIQ in VM fault ISR for SRIOV support

2016-11-30 Thread Yu, Xiangliang
> Am 30.11.2016 um 08:02 schrieb Xiangliang Yu: > > Schedule a workqueue for VM fault handler on GMC V8.0 for SRIOV > > support. > > > > Signed-off-by: shaoyunl > > Signed-off-by: Xiangliang Yu > > NAK, it is vital to print the information from the registers and reset them > ASAP even under SRIO

Re: libdrm amdgpu semaphores questions

2016-11-30 Thread zhoucm1
Hi Dave, As the attached, our Vulkan team is verifying it. Thanks, David Zhou On 2016年12月01日 13:44, Dave Airlie wrote: On 1 Dec. 2016 15:22, "zhoucm1" > wrote: > > Yes, the old implementation which is already in upstream libdrm is out of data, there isn't other u

Re: libdrm amdgpu semaphores questions

2016-11-30 Thread zhoucm1
Yes, the old implementation which is already in upstream libdrm is out of data, there isn't other user, so we want to drop it when new semaphore is verified OK. Thanks, David Zhou On 2016年12月01日 10:36, Mao, David wrote: Hi Dave, i believe your first attempt is correct. The export/import semap

Re: libdrm amdgpu semaphores questions

2016-11-30 Thread Dave Airlie
On 1 Dec. 2016 15:22, "zhoucm1" wrote: > > Yes, the old implementation which is already in upstream libdrm is out of data, there isn't other user, so we want to drop it when new semaphore is verified OK. Could you post some patches for the new one? Otherwise I'll have to write one for radv. Dave

Re: libdrm amdgpu semaphores questions

2016-11-30 Thread Mao, David
Hi Dave, i believe your first attempt is correct. The export/import semaphore needs refine of the semaphore implementation. We are working on that. Thanks. Best Regards, David > On 1 Dec 2016, at 10:12 AM, Dave Airlie wrote: > > Hey all, > > So I've started adding semaphore support to radv b

libdrm amdgpu semaphores questions

2016-11-30 Thread Dave Airlie
Hey all, So I've started adding semaphore support to radv but I'm not really sure what the API to the semaphore code is. the Vulkan API is you get a command submission of a number of submit units which have a 0-n wait semaphore, 0-n command buffers and 0-n signal semaphores. Now I'm not sure how

Re: [PATCH xf86-video-ati] Replace loop with clz to calculate log base 2 on non-x86 platforms in radeon.h

2016-11-30 Thread Michel Dänzer
On 01/12/16 02:52 AM, Jochen Rollwagen wrote: > Am 29.11.2016 um 08:32 schrieb Michel Dänzer: >> On 29/11/16 03:18 AM, Jochen Rollwagen wrote: >>> This commit replaces the loop for calculating log base 2 for >>> non-x86-platforms in radeon.h with a clz (count leading zeroes)-based >>> version to si

[PATCH 5/7] drm/amd/dal: program HDMI_DATA_SCRAMBLER bit for HDMI 2.0

2016-11-30 Thread Harry Wentland
Change-Id: Iad39ffaf361001fc84572a3f902c827c9d4ee1d8 Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../gpu/drm/amd/dal/dc/dce/dce_stream_encoder.c| 39 ++ .../gpu/drm/amd/dal/dc/dce/dce_stream_encoder.h| 4 +++ 2 files changed, 3

[PATCH 6/7] drm/amd/dal: Program DPHY_SCRAM_CNTL for HBR2 compliance pattern

2016-11-30 Thread Harry Wentland
Change-Id: Ie76f6365870c47867dd3fb0b7346809adb4ed029 Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c | 7 +++ drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.h | 3 +++ 2 files changed, 10 insertions(+) di

[PATCH 7/7] drm/amd/dal: Remove unneccessary macro

2016-11-30 Thread Harry Wentland
Change-Id: I756cb599927d448f7237b3a961627cca1f815a1a Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Reviewed-by: Charlene Liu Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc/dce/dce_audio.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/a

[PATCH 4/7] drm/amd/dal: Remove extra newline

2016-11-30 Thread Harry Wentland
Change-Id: I808e268496422add7174cd310631351af4972a1f Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/include/dal_asic_id.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/dal/include/dal_asic_id.h b/drivers/gpu/d

[PATCH 3/7] drm/amd/dal: Track windowed_fullscreen state in freesync module

2016-11-30 Thread Harry Wentland
From: Amy Zhang Change-Id: If5c2282838810d8ed250345aa43dada900dd1caa Signed-off-by: Amy Zhang Reviewed-by: Aric Cyr Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/modules/freesync/freesync.c | 7 ++- drivers/gpu/drm/amd/dal/modules/inc/mod_freesync.h | 2 ++ 2 files changed, 8 inse

[PATCH 2/7] drm/amd/dal: Pass in shift and mask values for I2C of DCE100 and up.

2016-11-30 Thread Harry Wentland
From: Zeyu Fan Change-Id: Ibe3a78a8a5b633e0e785611a5a16c2627937e91a Signed-off-by: Zeyu Fan Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../drm/amd/dal/dc/i2caux/dce100/i2caux_dce100.c | 12 +- .../dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c| 55 - .../dal/dc/i2caux/d

[PATCH 1/7] drm/amd/dal: DCE clock source consoldiation and refactor.

2016-11-30 Thread Harry Wentland
From: Zeyu Fan Change-Id: Ic1b6dc1b70479e30b050659d2231ade0d40e09c9 Signed-off-by: Zeyu Fan Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc/dce/Makefile| 3 +- .../dce_clock_source.c}| 455 + .../dce

[PATCH 0/7] dal patches for nov 30, 2016

2016-11-30 Thread Harry Wentland
* program scrambler bits for hdmi2 and dp1.2 * some minor cleanups Amy Zhang (1): drm/amd/dal: Track windowed_fullscreen state in freesync module Harry Wentland (4): drm/amd/dal: Remove extra newline drm/amd/dal: program HDMI_DATA_SCRAMBLER bit for HDMI 2.0 drm/amd/dal: Program DPHY_SCRAM

Re: [PATCH xf86-video-ati] Replace loop with clz to calculate log base 2 on non-x86 platforms in radeon.h

2016-11-30 Thread Jochen Rollwagen
Am 29.11.2016 um 08:32 schrieb Michel Dänzer: On 29/11/16 03:18 AM, Jochen Rollwagen wrote: This commit replaces the loop for calculating log base 2 for non-x86-platforms in radeon.h with a clz (count leading zeroes)-based version to simplify the code and, well, eliminate the loop. Note: There’s

RE: [PATCH xf86-video-amdgpu 4/4] Call amdgpu_drm_abort_entry on failure to flip to a scanout pixmap

2016-11-30 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Wednesday, November 30, 2016 2:42 AM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH xf86-video-amdgpu 4/4] Call amdgpu_drm_abort_entry on > failure to flip to a sc

RE: [PATCH 3/6] drm/amd/powerplay: Ignore smu buffer usage

2016-11-30 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Xiangliang Yu > Sent: Wednesday, November 30, 2016 2:02 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yu, Xiangliang; Liu, Monk > Subject: [PATCH 3/6] drm/amd/powerplay: Ignore smu buffer usa

RE: [PATCH 6/6] drm/amd/powerplay: Fix potential NULL pointer issue

2016-11-30 Thread Zhu, Rex
This patch is Reviewed-by: Rex Zhu Best Regards Rex -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Xiangliang Yu Sent: Wednesday, November 30, 2016 3:03 PM To: amd-gfx@lists.freedesktop.org Cc: Yu, Xiangliang Subject: [PATCH 6/6] drm/amd/pow

Re: [PATCH 4/6] drm/amdgpu: Avoid use KIQ in VM fault ISR for SRIOV support

2016-11-30 Thread Christian König
Am 30.11.2016 um 08:02 schrieb Xiangliang Yu: Schedule a workqueue for VM fault handler on GMC V8.0 for SRIOV support. Signed-off-by: shaoyunl Signed-off-by: Xiangliang Yu NAK, it is vital to print the information from the registers and reset them ASAP even under SRIOV. My last status was