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

[Description]
Change to new interface for notifying OS of cursor support changes

Reviewed-by: Gang Chu <[email protected]>
Reviewed-by: Jaina Han <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Signed-off-by: Hong-lu Cheng <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
This commit is contained in:
Hong-lu Cheng
2023-09-26 17:00:22 -04:00
committed by Alex Deucher
parent 5fad7d8cc4
commit 40de8403b9
+1 -1
View File
@@ -3507,7 +3507,7 @@ static void wait_for_outstanding_hw_updates(struct dc *dc, const struct dc_state
*/
int pipe_idx;
int opp_inst;
int opp_count = dc->res_pool->pipe_count;
int opp_count = dc->res_pool->res_cap->num_opp;
struct hubp *hubp;
int mpcc_inst;
const struct pipe_ctx *pipe_ctx;