From: Monk Liu Date: Thu, 26 Jan 2017 07:32:16 +0000 (+0800) Subject: drm/amdgpu:new field in_reset introduced for gfx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=223049cd54bdf32be581aff4c2cc0f8a9cb7cef0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/amdgpu:new field in_reset introduced for gfx use it to seperate driver load and gpu reset/resume because gfx IP need different approach for different hw_init trigger source Signed-off-by: Monk Liu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 3ba21ffdc6c0..9b3b2a3001cc 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -903,6 +903,7 @@ struct amdgpu_gfx { /* reset mask */ uint32_t grbm_soft_reset; uint32_t srbm_soft_reset; + bool in_reset; }; int amdgpu_ib_get(struct amdgpu_device *adev, struct amdgpu_vm *vm,