[PATCH 1/2] drm/amdgpu: Add printing for RW extracted from VM_L2_PROTECTION_FAULT_STATUS
Christian König
ckoenig.leichtzumerken at gmail.com
Wed Aug 14 07:27:54 UTC 2019
Am 13.08.19 um 20:08 schrieb Zhao, Yong:
> RW is also useful in most cases.
>
> Change-Id: Icf4bd65ea168e5965a6a8ebe32ce9327a2de2851
> Signed-off-by: Yong Zhao <Yong.Zhao at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com> for the series.
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 296e2d982578..ec5e858926ad 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -387,6 +387,9 @@ static int gmc_v9_0_process_interrupt(struct amdgpu_device *adev,
> dev_err(adev->dev, "\t MAPPING_ERROR: 0x%lx\n",
> REG_GET_FIELD(status,
> VM_L2_PROTECTION_FAULT_STATUS, MAPPING_ERROR));
> + dev_err(adev->dev, "\t RW: 0x%lx\n",
> + REG_GET_FIELD(status,
> + VM_L2_PROTECTION_FAULT_STATUS, RW));
>
> }
> }
More information about the amd-gfx
mailing list