]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Compare clock state member to determine optimization.
authorYongqiang Sun <yongqiang.sun@amd.com>
Mon, 18 Nov 2019 18:45:50 +0000 (13:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 23:25:07 +0000 (18:25 -0500)
commit51a8e5fad92583da4291ff725050ae78b91d36f7
tree18fab342668c2b8ee821d70648e021ef8d5af0f2
parentff8ade30f4adf4902e15a103861144ac8e9b8e3e
drm/amd/display: Compare clock state member to determine optimization.

[Why]
It seems always request passive flip on RN due to incorrect compare
clock state to determine optization.

[How]
Instead of calling memcmp, compare clock state member to determine the
condition.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c