commit | cdd9a8b8599b952e2b39763090689ec2ad8e40c3 | [log] [tgz] |
---|---|---|
author | pding <Pixel.Ding@amd.com> | Tue Nov 07 14:32:36 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Nov 08 17:55:14 2017 -0500 |
tree | 172c1d0c5ca0cbd0254ccd341950836f465f5b62 | |
parent | dce1e131dd4dc68099ff1b70aa03cd2d0acf8639 [diff] |
drm/amdgpu: use irq-safe lock for kiq->ring_lock This lock is used during register accessing in SRIOV guest. The register accessing could happen both in irq enabled and irq disabled cases. Always use irq-safe lock. Signed-off-by: Pixel Ding <Pixel.Ding@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>