]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: initialize the context reset_counter in amdgpu_ctx_init
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 4 Oct 2016 07:43:30 +0000 (09:43 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Oct 2016 19:44:14 +0000 (15:44 -0400)
commit70a1c2f30c555f0c1f47c96a0b75991746c406dc
treee9ba88b2c13b3fcb10c104d942bf88c9c88c9548
parentae8f669c8a03351f5f18d95cfae78b9350d5f025
drm/amdgpu: initialize the context reset_counter in amdgpu_ctx_init

Ensure that we really only report a GPU reset if one has happened since the
creation of the context.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c