drm/amdgpu/dce10: simplify hpd code
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Sep 2016 17:44:00 +0000 (13:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:09 +0000 (14:38 -0400)
commit6753ac2bf4c794d33f3232f84de790d4a0c3309d
tree542619727c5cbd60c4327ada6f85e8e953da37ee
parent2285b91cd2d995acc8c62028c7bd4ae5f939b1ea
drm/amdgpu/dce10: simplify hpd code

use the hpd enum directly as an index

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