]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Only add stream to freesync when modeset required
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 18 Oct 2017 18:22:23 +0000 (14:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:29 +0000 (16:41 -0500)
commit1c77d4eea7c7c441214c6f30416c7ee16f921fb0
treef6fa4941be885c81cd5069b1fa6b570253cf0b12
parentf01a2cf0a613c52acf941c764f344aefb8949591
drm/amd/display: Only add stream to freesync when modeset required

This is a follow-up patch to:

Leo (Sunpeng) Li    Cleanup code that enables freesync

We should only add a stream to freesync if a modeset was requested, so
we don't fill the core freesync map with pointless streams.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-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