drm/amd/display: Fix VTEM InfoPacket programming
authorReza Amini <Reza.Amini@amd.com>
Thu, 7 Mar 2019 22:36:29 +0000 (17:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:48 +0000 (23:39 -0500)
commite03868ec0cdc508e270e9f1c2d8c97ee4163dd47
treecfdcd8359dfd4ab1dcef78ca7243cd943c8fdde6
parent66acd4418d7de131ef3831e52a8af3d2480e5b15
drm/amd/display: Fix VTEM InfoPacket programming

Refactor setting bit fields. Correcting the offset of MD0.
Initializing the InfoPacket header fields. Defining the field offsets
and masks.

Signed-off-by: Reza Amini <Reza.Amini@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c