drm/amdgpu: take the mode_config mutex when handling hpds
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 15 May 2015 15:52:18 +0000 (11:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:39 +0000 (21:03 -0400)
commit9e14c65c5715b16bcbf5d5c64de2bb8a973a0afa
tree3afd4d4347080e1437f788416762c7b47fee7d3a
parentd94aed5a6c947b1fda346aff1fa316dacf4a1a5a
drm/amdgpu: take the mode_config mutex when handling hpds

Since we may modify display state.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c