Re: [PATCH 03/11] drm/amdkfd: Rectify the jiffies calculation error with milliseconds

2017-09-15 Thread Jan Vesely
On Fri, 2017-09-15 at 19:42 -0400, Felix Kuehling wrote: > From: Yong Zhao > > The timeout in milliseconds should not be regarded as jiffies. This > commit fixed that. > > Signed-off-by: Yong Zhao > Signed-off-by: Felix Kuehling > --- > drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c |

[PATCH] drm/amdgpu: Fix a bug in amdgpu_fill_buffer()

2017-09-15 Thread Yong Zhao
When max_bytes is not 8 bytes aligned and bo size is larger than max_bytes, the last 8 bytes in a ttm node may be left unchanged. For example, on pre SDMA 4.0, max_bytes = 0x1f, and the bo size is 0x20, the problem will happen. This commit fixed that. Change-Id: I37c588a57cb63f1a8251fb5ead

[PATCH v2 1/3] drm/amdgpu: Add dc_log module parameter

2017-09-15 Thread Harry Wentland
We want to make DC less chatty but still allow bug reporters to provide more detailed logs. Signed-off-by: Harry Wentland --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu

[PATCH v2 2/3] drm/amd/display: Pass log_mask from DM

2017-09-15 Thread Harry Wentland
Linux and Windows often desire different log levels. Change-Id: Idd3c672e8b36f41de240e94d0c2d4b56ce60376e Signed-off-by: Harry Wentland --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +- drivers/gpu/drm/amd/display/dc/basics/logger.c | 41 +++--- drivers/gpu/drm/

[PATCH v2 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Harry Wentland
Log DC init but default log level to 0 (default for amdgpu_dc_log) otherwise. Bug reporters can still make DC more chatty by using the dc_log module param. amdgpu.dc_log = 1 v2: Only provide runtime option, no compile time config Change-Id: Icdfb849fa678225e2460519fbd8066540feb451a Signed-off

[PATCH v2 0/3] Make DC logging more configurable

2017-09-15 Thread Harry Wentland
We shouldn't be as chatty as we are, sitting in the kernel. This patchset reduces the default log levels greatly but still allows bug reporters and internal teams run with previous log levels, using a dc_log module parameter. Going forward we'll look into converting the existing logs into DRM_DEBU

[PATCH 05/11] drm/amdkfd: Fix incorrect destroy_mqd parameter

2017-09-15 Thread Felix Kuehling
When uninitializing a kernel queue. Signed-off-by: Yong Zhao Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c b/drivers/gpu/drm/amd/amdkfd/kfd_kernel

[PATCH 09/11] drm/amdkfd: Fix kernel-queue wrapping bugs

2017-09-15 Thread Felix Kuehling
From: Yong Zhao Avoid intermediate negative numbers when doing calculations with a mix of signed and unsigned variables where implicit conversions can lead to unexpected results. When kernel queue buffer wraps around to 0, we need to check that rptr won't be overwritten by the new packet. Signe

[PATCH 08/11] drm/amdkfd: Drop _nocpsch suffix from shared functions

2017-09-15 Thread Felix Kuehling
From: Yong Zhao Several functions in DQM are shared between cpsch and nocpsch code. Remove the misleading _nocpsch suffix from their names. Signed-off-by: Yong Zhao Signed-off-by: Felix Kuehling --- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 24 +++--- 1 file changed

[PATCH 00/11] KFD fixes

2017-09-15 Thread Felix Kuehling
Small self-contained KFD fixes that don't introduce any new functionality or features. These may be suitable to include in drm-fixes for 4.14. Patch 11 may be controversial and I may just drop it if people think this is better dealt with in udevd configuration files. Andres Rodriguez (1): drm/am

[PATCH 07/11] drm/amdkfd: Reuse CHIP_* from amdgpu

2017-09-15 Thread Felix Kuehling
From: Yong Zhao There are already CHIP_* definitions under amd_shared.h file on amdgpu side, so KFD should reuse them rather than defining new ones. Using enum for asic type requires default cases on switch statements to prevent compiler warnings. BUG on unsupported ASICs. It should never get th

[PATCH 11/11] drm/amdkfd: Set /dev/kfd permissions to 0666 by default

2017-09-15 Thread Felix Kuehling
From: Andres Rodriguez Set the default permissions of /dev/kfd to be more than just root accessible 600. Signed-off-by: Andres Rodriguez Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/amd

[PATCH 01/11] drm/amdkfd: Reorganize kfd resume code

2017-09-15 Thread Felix Kuehling
From: Yong Zhao The idea is to let kfd init and resume function share the same code path as much as possible, rather than to have two copies of almost identical code. That way improves the code readability and maintainability. Signed-off-by: Yong Zhao Signed-off-by: Felix Kuehling --- drivers

[PATCH 06/11] drm/amdkfd: Use VMID bitmap from KGD

2017-09-15 Thread Felix Kuehling
From: Yong Zhao The hard-coded values related to VMID were removed in KFD, as those values can be calculated in the KFD initialization function. Signed-off-by: Yong Zhao Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c| 9 ++--- drivers/gpu/drm/am

[PATCH 04/11] drm/amdkfd: Adjust dequeue latencies and timeouts

2017-09-15 Thread Felix Kuehling
Adjust latencies and timeouts for dequeueing with HWS and consolidate them in one place. Make them longer to allow long running waves to complete without causing a timeout. The timeout is twice as long as the latency plus some buffer to make sure we don't detect a timeout prematurely. Change timeo

[PATCH 10/11] drm/amdkfd: Print event limit messages only once per process

2017-09-15 Thread Felix Kuehling
To avoid spamming the log. Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 5 - drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.c b/drivers/gpu/drm/amd/amdkfd/kfd_e

[PATCH 03/11] drm/amdkfd: Rectify the jiffies calculation error with milliseconds

2017-09-15 Thread Felix Kuehling
From: Yong Zhao The timeout in milliseconds should not be regarded as jiffies. This commit fixed that. Signed-off-by: Yong Zhao Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 8 +--- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +- 2

[PATCH 02/11] drm/amdkfd: Fix suspend/resume issue on Carrizo

2017-09-15 Thread Felix Kuehling
From: Yong Zhao When we do suspend/resume through "sudo pm-suspend" while there is HSA activity running, upon resume we will encounter HWS hanging, which is caused by memory read/write failures. The root cause is that when suspend, we neglected to unbind pasid from kfd device. Another major chan

[PATCH] drm/amdgpu/psp: declare raven psp firmware

2017-09-15 Thread Alex Deucher
So it gets picked up properly by the kernel. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c index 6ec5c9f..77cab1f 100644 --- a/drivers/g

Re: [PATCH] lib: Closed hash table with low overhead

2017-09-15 Thread Andrew Morton
On Mon, 28 Aug 2017 21:53:10 -0400 Felix Kuehling wrote: > This adds a statically sized closed hash table implementation with > low memory and CPU overhead. The API is inspired by kfifo. > > Storing, retrieving and deleting data does not involve any dynamic > memory management, which makes it i

[PATCH] drm/radeon: properly initialize r600_audio_status() data

2017-09-15 Thread Arnd Bergmann
The structure returned from r600_audio_status() is only partially initialized, and older gcc versions (4.3 and 4.4) warn about this: drivers/gpu/drm/radeon/r600_hdmi.c: In function 'r600_audio_status': drivers/gpu/drm/radeon/r600_hdmi.c:108: error: 'status.id' is used uninitialized in this functi

[PATCH] drm/radeon: disable hard reset in hibernate for APUs

2017-09-15 Thread Alex Deucher
Fixes a hibernation regression on APUs. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=191571 Fixes: 274ad65c9d02bdc (drm/radeon: hard reset r600 and newer GPU when hibernating.) Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/radeon_device.c | 2 +- 1 file c

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Harry Wentland
On 2017-09-15 01:36 PM, Christian König wrote: > Am 15.09.2017 um 19:33 schrieb Harry Wentland: >> On 2017-09-15 01:26 PM, Christian König wrote: >>> Am 15.09.2017 um 17:35 schrieb Felix Kuehling: On 2017-09-15 11:28 AM, Christian König wrote: > Am 15.09.2017 um 17:26 schrieb Deucher, Al

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Christian König
Am 15.09.2017 um 19:33 schrieb Harry Wentland: On 2017-09-15 01:26 PM, Christian König wrote: Am 15.09.2017 um 17:35 schrieb Felix Kuehling: On 2017-09-15 11:28 AM, Christian König wrote: Am 15.09.2017 um 17:26 schrieb Deucher, Alexander: -Original Message- From: Wentland, Harry Sent:

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Harry Wentland
On 2017-09-15 01:26 PM, Christian König wrote: > Am 15.09.2017 um 17:35 schrieb Felix Kuehling: >> On 2017-09-15 11:28 AM, Christian König wrote: >>> Am 15.09.2017 um 17:26 schrieb Deucher, Alexander: > -Original Message- > From: Wentland, Harry > Sent: Friday, September 15, 201

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Christian König
Am 15.09.2017 um 17:35 schrieb Felix Kuehling: On 2017-09-15 11:28 AM, Christian König wrote: Am 15.09.2017 um 17:26 schrieb Deucher, Alexander: -Original Message- From: Wentland, Harry Sent: Friday, September 15, 2017 11:21 AM To: Koenig, Christian; amd-gfx@lists.freedesktop.org Cc: De

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Harry Wentland
On 2017-09-15 11:27 AM, Deucher, Alexander wrote: >> -Original Message- >> From: Wentland, Harry >> Sent: Friday, September 15, 2017 11:21 AM >> To: Koenig, Christian; amd-gfx@lists.freedesktop.org >> Cc: Deucher, Alexander; Grodzovsky, Andrey; Cheng, Tony >> Subject: Re: [PATCH 3/3] drm/am

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Felix Kuehling
On 2017-09-15 11:28 AM, Christian König wrote: > Am 15.09.2017 um 17:26 schrieb Deucher, Alexander: >>> -Original Message- >>> From: Wentland, Harry >>> Sent: Friday, September 15, 2017 11:21 AM >>> To: Koenig, Christian; amd-gfx@lists.freedesktop.org >>> Cc: Deucher, Alexander; Grodzovsky,

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Harry Wentland
On 2017-09-15 11:28 AM, Christian König wrote: > Am 15.09.2017 um 17:26 schrieb Deucher, Alexander: >>> -Original Message- >>> From: Wentland, Harry >>> Sent: Friday, September 15, 2017 11:21 AM >>> To: Koenig, Christian; amd-gfx@lists.freedesktop.org >>> Cc: Deucher, Alexander; Grodzovsk

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Christian König
Am 15.09.2017 um 17:26 schrieb Deucher, Alexander: -Original Message- From: Wentland, Harry Sent: Friday, September 15, 2017 11:21 AM To: Koenig, Christian; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander; Grodzovsky, Andrey; Cheng, Tony Subject: Re: [PATCH 3/3] drm/amd/display: Redu

RE: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Deucher, Alexander
> -Original Message- > From: Wentland, Harry > Sent: Friday, September 15, 2017 11:21 AM > To: Koenig, Christian; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander; Grodzovsky, Andrey; Cheng, Tony > Subject: Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness > > > > On 2017-09-15

RE: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Deucher, Alexander
> -Original Message- > From: Wentland, Harry > Sent: Friday, September 15, 2017 11:21 AM > To: Koenig, Christian; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander; Grodzovsky, Andrey; Cheng, Tony > Subject: Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness > > > > On 2017-09-15

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Harry Wentland
On 2017-09-15 11:08 AM, Christian König wrote: > Am 15.09.2017 um 16:32 schrieb Harry Wentland: >> Log DC init but default log level to 0 (default for >> amdgpu_dc_log) otherwise. Bug reporters can still make >> DC more chatty like so >> amdgpu.dc_log = 1 > > Which is exactly the reason why

Re: [PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Christian König
Am 15.09.2017 um 16:32 schrieb Harry Wentland: Log DC init but default log level to 0 (default for amdgpu_dc_log) otherwise. Bug reporters can still make DC more chatty like so amdgpu.dc_log = 1 Which is exactly the reason why I think this patch is superfluous. Either have a compile time

Re: [PATCH v2 1/1] drm/amdgpu: Add gem_prime_mmap support

2017-09-15 Thread Christian König
Am 14.09.2017 um 00:39 schrieb Samuel Li: v2: drop hdp invalidate/flush. Signed-off-by: Samuel Li --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 77 ++- 3 file

Re: RE: Can you tell me which driver supports AMD's sriov?

2017-09-15 Thread maok...@126.com
hi: Do you have amdgpu hypervisor driver patches or compiled module available to us? We do the testing and we feed back the test results. We're very interested in this. When does it fit into the kernel? maok...@126.com From: Yu, Xiangliang Date: 2017-09-15 10:15 To: maok...@126.c

[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread kenwan
From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/amdgpu/psp_v

[PATCH 2/3] drm/amd/display: Pass log_mask from DM

2017-09-15 Thread Harry Wentland
Linux and Windows often desire different log levels. Change-Id: Idd3c672e8b36f41de240e94d0c2d4b56ce60376e Signed-off-by: Harry Wentland --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +- drivers/gpu/drm/amd/display/dc/basics/logger.c | 41 +++--- drivers/gpu/drm/

RE: [PATCH] drm/amd/powerplay: Simplify smu7_voting_clients()

2017-09-15 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Friday, September 15, 2017 8:00 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH] drm/amd/powerplay: Simplify smu7_voting_clients() > > Change-Id: I7853

[PATCH 3/3] drm/amd/display: Reduce DC chattiness

2017-09-15 Thread Harry Wentland
Log DC init but default log level to 0 (default for amdgpu_dc_log) otherwise. Bug reporters can still make DC more chatty like so amdgpu.dc_log = 1 Change-Id: Icdfb849fa678225e2460519fbd8066540feb451a Signed-off-by: Harry Wentland --- drivers/gpu/drm/amd/display/Kconfig| 10 +

[PATCH 1/3] drm/amdgpu: Add dc_log module parameter

2017-09-15 Thread Harry Wentland
We want to make DC less chatty but still allow bug reporters to provide more detailed logs. Signed-off-by: Harry Wentland --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu

[PATCH 0/3] Make DC logging more configurable

2017-09-15 Thread Harry Wentland
We shouldn't be as chatty as we are, sitting in the kernel. This patchset reduces the default log levels greatly but still allows bug reporters and internal teams run with previous log levels. To do that we use a module parameter and also make it a compile time option. One possibility would've bee

RE: [PATCH] drm/amdgpu: fix checkpatch.pl error to amdgpu_drv.c

2017-09-15 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Christian König > Sent: Friday, September 15, 2017 8:19 AM > To: Zhu, Rex; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: fix checkpatch.pl error to amdgpu_drv.c > > Am 15.0

RE: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of ken.w...@amd.com > Sent: Friday, September 15, 2017 3:58 AM > To: amd-gfx@lists.freedesktop.org > Cc: Wang, Ken > Subject: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10 > > From:

RE: [PATCH] drm/amdgpu: add powerplay support for CI asics

2017-09-15 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Friday, September 15, 2017 2:29 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH] drm/amdgpu: add powerplay support for CI asics > > currently, for CI a

Re: [PATCH] drm/amdgpu: fix checkpatch.pl error to amdgpu_drv.c

2017-09-15 Thread Christian König
Am 15.09.2017 um 13:58 schrieb Rex Zhu: fix checkpatch.pl error and warning: 1. ERROR: do not initialise globals to NULL 2. ERROR: do not initialise globals to 0 3. WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Change-Id: I7029087efcfa88c968be9d7ae42f2453bc4b1da0 Signed-off-by: Rex Zh

[PATCH] drm/amd/powerplay: Simplify smu7_voting_clients()

2017-09-15 Thread Rex Zhu
Change-Id: I78533929e1bbd60d5dca0edbfc62a402ca5c1bd1 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 59 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h | 9 +--- 2 files changed, 19 insertions(+), 49 deletions(-) diff --git a/drivers/gpu/

[PATCH] drm/amdgpu: fix checkpatch.pl error to amdgpu_drv.c

2017-09-15 Thread Rex Zhu
fix checkpatch.pl error and warning: 1. ERROR: do not initialise globals to NULL 2. ERROR: do not initialise globals to 0 3. WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Change-Id: I7029087efcfa88c968be9d7ae42f2453bc4b1da0 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu.

Re: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Wang, Ken
sure, thanks. From: Christian König Sent: Friday, September 15, 2017 4:13:45 PM To: Wang, Ken; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10 Am 15.09.2017 um 09:57 schrieb ken.w...@amd.com: > From: Ken Wang

Re: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Christian König
Am 15.09.2017 um 09:57 schrieb ken.w...@amd.com: From: Ken Wang V2 Signed-off-by: Ken Wang Acked-by: Christian König I would give an rb, but I can't judge if the PSP stuff is actually correct, maybe wait for Alex to have a look as well. Regards, Christian. Change-Id: I6fd2c216a847473

[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Ken.Wang
From: Ken Wang V2 Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 21 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/a

Fw: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Wang, Ken
From: ken.w...@amd.com Sent: Friday, September 15, 2017 14:57 To: amd-gfx@lists.freedesktop.org Cc: Wang, Ken Subject: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10 From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444b

[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread ken.wang
From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/amdgpu/psp_v

Re: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Wang, Ken
sorry about sending duplicated review, email server seems not working properly. From: amd-gfx on behalf of qingqing.w...@amd.com Sent: Friday, September 15, 2017 3:05:56 PM To: amd-gfx@lists.freedesktop.org Cc: Wang, Ken Subject: [PATCH] drm/amdgpu: Add GPU rese

Re: [PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Christian König
Am 15.09.2017 um 08:57 schrieb ken.w...@amd.com: From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdg

[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread Ken.Wang
From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/amdgpu/psp_v

[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread qingqing.wang
From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/amdgpu/psp_v

[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread ken.wang
From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/amdgpu/psp_v

[PATCH] drm/amdgpu: Add GPU reset functionality for Vega10

2017-09-15 Thread ken.wang
From: Ken Wang Signed-off-by: Ken Wang Change-Id: I6fd2c216a84747313f18db25a444be5ed43b4f4b --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c| 10 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h| 3 +++ drivers/gpu/drm/amd/amdgpu/psp_v