drm/amd/display: Check hubp in pipe_ctx not in res_pool.
authorYongqiang Sun <yongqiang.sun@amd.com>
Thu, 18 Jan 2018 19:51:28 +0000 (14:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:27 +0000 (14:19 -0500)
commit24a30505f312287b2978f8f9180a3bc2da4fd80c
treea5230a44dd50d7ec89479c7321cc1f973260cd79
parent29e8357b4cbbfcee6d375f2d183b674b678923d7
drm/amd/display: Check hubp in pipe_ctx not in res_pool.

When disable plane, check power gate flag in hubp with pipe_ctx,
not with res_pool.

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