drm/amdgpu/dce11: simplify hpd code
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Sep 2016 17:56:50 +0000 (13:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:10 +0000 (14:38 -0400)
commitd2486d25bdfc837d5f0f86ea83051f8355763d30
treed514a140480a20ba05d38e667824d2997e921859
parent03ae23b93bcbeebd7bd15e5afd3cddaf537d3f5c
drm/amdgpu/dce11: 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_v11_0.c