Commit 40de8403 authored by Hong-lu Cheng's avatar Hong-lu Cheng Committed by Alex Deucher

drm/amd/display: Update OPP counter from new interface

[Description]
Change to new interface for notifying OS of cursor support changes
Reviewed-by: default avatarGang Chu <gang.chu@amd.com>
Reviewed-by: default avatarJaina Han <jaina.han@amd.com>
Reviewed-by: default avatarJun Lei <jun.lei@amd.com>
Acked-by: default avatarWayne Lin <wayne.lin@amd.com>
Signed-off-by: default avatarHong-lu Cheng <hong-lu.cheng@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5fad7d8c
...@@ -3507,7 +3507,7 @@ static void wait_for_outstanding_hw_updates(struct dc *dc, const struct dc_state ...@@ -3507,7 +3507,7 @@ static void wait_for_outstanding_hw_updates(struct dc *dc, const struct dc_state
*/ */
int pipe_idx; int pipe_idx;
int opp_inst; int opp_inst;
int opp_count = dc->res_pool->pipe_count; int opp_count = dc->res_pool->res_cap->num_opp;
struct hubp *hubp; struct hubp *hubp;
int mpcc_inst; int mpcc_inst;
const struct pipe_ctx *pipe_ctx; const struct pipe_ctx *pipe_ctx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment