drm/amdgpu: Use correct mask in dce_v8_0_afmt_setmode() and fix comment typos.
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Mon, 22 Aug 2016 00:38:41 +0000 (20:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Aug 2016 17:47:25 +0000 (13:47 -0400)
commitdfaf2291ab6073e33068eabaa3f3d6b8632bc81c
tree74a4078a718b66dcc09a6bb5fb8cbbd9ad4d6ead
parent99e124f402d6d649498e2aa3cbcf4563a37fea0e
drm/amdgpu: Use correct mask in dce_v8_0_afmt_setmode() and fix comment typos.

We were using the same mask twice. Looking at radeon, it seems
we should be using HDMI_AVI_INFO_CONT instead as the second mask.

Being there, fix typos in comments and improved readability.

I haven't looked at other DCEs, the mask may also be wrong for them.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c