[PATCH 4.4 180/342] drm/amdgpu: The VI specific EXE bit should only apply to GMC v8.0 above

From: Greg Kroah-Hartman
Date: Tue Mar 01 2016 - 19:34:47 EST


4.4-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ken Wang <Qingqing.Wang@xxxxxxx>

commit 8f3c162961fc2d92ec73a66496aab69eb2e19c36 upstream.

Reviewed-by: Christian KÃnig <christian.koenig@xxxxxxx>
Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>
Signed-off-by: Ken Wang <Qingqing.Wang@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -808,7 +808,7 @@ uint32_t amdgpu_ttm_tt_pte_flags(struct
flags |= AMDGPU_PTE_SNOOPED;
}

- if (adev->asic_type >= CHIP_TOPAZ)
+ if (adev->asic_type >= CHIP_TONGA)
flags |= AMDGPU_PTE_EXECUTABLE;

flags |= AMDGPU_PTE_READABLE;