drm/amd/display: Atomic freesync ASSERT fix
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Mon, 16 Oct 2017 19:51:00 +0000 (15:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:28 +0000 (16:41 -0500)
commitbfe1708c80d5d7cf08b7907b1850d2d3bf688db2
tree6ddd5dd449db760e8cedc381d97997cfcd5bdedb
parent0858a8f2047007fdb6a50339d72226fa1e242fa2
drm/amd/display: Atomic freesync ASSERT fix

Changes to atomic set property for freesync.

Now In set property, just set the freesync variables and return 0.
Based on the variables call mod_freesync_set_user_enable() inside
commit_tail

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c