drm/amd/display: Refactor remove mpcc processing.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 22 Dec 2017 17:05:25 +0000 (12:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:35 +0000 (14:17 -0500)
commit365acbaf4664b99e42a6fc7ed031df2e840879cc
tree2ec9eedca0012a223d68e489a5e3387385b5016e
parentbe2f449a19a198164fbcbbe9e22c6c32ad7a2492
drm/amd/display: Refactor remove mpcc processing.

No need to use loop find opp, use opp in stream_res.

Signed-off-by: Yongqiang Sun <yongqiang.sun@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/dc/dcn10/dcn10_hw_sequencer.c