Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device pointer

2021-12-13 Thread Deucher, Alexander
: use adev_to_drm to get drm_device pointer Updated for consistency when accessing drm_device from amdgpu driver. Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

[PATCH] drm/amdgpu: use adev_to_drm to get drm_device pointer

2021-12-12 Thread Guchun Chen
Updated for consistency when accessing drm_device from amdgpu driver. Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_devi

RE: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Chen, Guchun
, Felix Subject: Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device That's exactly what I said, but can see that 1/2 of the responses went to amd-gfx, and the other half to brahma ML. Regards, Luben On 2021-06-09 11:38 a.m., Alex Deucher wrote: > On Wed, Jun 9, 2021 at 5:23 AM Guc

Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Luben Tuikov
That's exactly what I said, but can see that 1/2 of the responses went to amd-gfx, and the other half to brahma ML. Regards, Luben On 2021-06-09 11:38 a.m., Alex Deucher wrote: > On Wed, Jun 9, 2021 at 5:23 AM Guchun Chen wrote: >> Fixes: >> 9faf262c32d3 drm/amdgpu: Add DMA mapping of GTT BOs >

Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Deucher, Alexander
: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device Am 2021-06-09 um 11:20 a.m. schrieb Luben Tuikov: > On 2021-06-09 10:01 a.m., Felix Kuehling wrote: >> Am 2021-06-09 um 5:23 a.m. schrieb Guchun Chen: >>> Fixes: >>> 9faf262c32d3 drm/amdgpu: Add DMA mapping of G

Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Felix Kuehling
Am 2021-06-09 um 11:20 a.m. schrieb Luben Tuikov: > On 2021-06-09 10:01 a.m., Felix Kuehling wrote: >> Am 2021-06-09 um 5:23 a.m. schrieb Guchun Chen: >>> Fixes: >>> 9faf262c32d3 drm/amdgpu: Add DMA mapping of GTT BOs >>> 090f3a60d7e8 drm/amdgpu: Use delayed work to collect RAS error counters >> A

Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Luben Tuikov
On 2021-06-09 10:01 a.m., Felix Kuehling wrote: > Am 2021-06-09 um 5:23 a.m. schrieb Guchun Chen: >> Fixes: >> 9faf262c32d3 drm/amdgpu: Add DMA mapping of GTT BOs >> 090f3a60d7e8 drm/amdgpu: Use delayed work to collect RAS error counters > A Fixes tag implies that something was broken. However, the

Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Felix Kuehling
Am 2021-06-09 um 5:23 a.m. schrieb Guchun Chen: > Fixes: > 9faf262c32d3 drm/amdgpu: Add DMA mapping of GTT BOs > 090f3a60d7e8 drm/amdgpu: Use delayed work to collect RAS error counters A Fixes tag implies that something was broken. However, the implementation of adev_to_drm does the exact same thi

Re: [PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Alex Deucher
On Wed, Jun 9, 2021 at 5:23 AM Guchun Chen wrote: > > Fixes: > 9faf262c32d3 drm/amdgpu: Add DMA mapping of GTT BOs > 090f3a60d7e8 drm/amdgpu: Use delayed work to collect RAS error counters > drop the fixes lines and say something like use the adev_to_drm() macro for consistency. With that, Revie

[PATCH] drm/amdgpu: use adev_to_drm to get drm_device

2021-06-09 Thread Guchun Chen
Fixes: 9faf262c32d3 drm/amdgpu: Add DMA mapping of GTT BOs 090f3a60d7e8 drm/amdgpu: Use delayed work to collect RAS error counters Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 2 files changed, 2 i