diff options
| author | Felix Kuehling <[email protected]> | 2018-02-07 01:32:33 +0000 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2018-02-07 01:32:33 +0000 |
| commit | 2f901c25eb35a1b24a6006b9b668ad8bf88da582 (patch) | |
| tree | ee5a653cd330a0575d1166112d0bb4b86bee9178 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | |
| parent | drm/amdgpu: Fix header file dependencies (diff) | |
| download | kernel-2f901c25eb35a1b24a6006b9b668ad8bf88da582.tar.gz kernel-2f901c25eb35a1b24a6006b9b668ad8bf88da582.zip | |
drm/amdgpu: Fix wrong mask in get_atc_vmid_pasid_mapping_pasid
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c index c70c8e1d1863..744c05b186d5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c @@ -704,7 +704,7 @@ static uint16_t get_atc_vmid_pasid_mapping_pasid(struct kgd_dev *kgd, struct amdgpu_device *adev = (struct amdgpu_device *) kgd; reg = RREG32(mmATC_VMID0_PASID_MAPPING + vmid); - return reg & ATC_VMID0_PASID_MAPPING__VALID_MASK; + return reg & ATC_VMID0_PASID_MAPPING__PASID_MASK; } static void write_vmid_invalidate_request(struct kgd_dev *kgd, uint8_t vmid) |
