drm/amd/display: add idle wait for passive surface update and modeset
Signed-off-by: Eric Yang <Eric.Yang2@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>
This commit is contained in:
@ -38,10 +38,8 @@
|
||||
|
||||
struct core_stream;
|
||||
|
||||
#define MAX_PIPES 6
|
||||
#define MAX_CLOCK_SOURCES 7
|
||||
|
||||
|
||||
/********* core_surface **********/
|
||||
#define DC_SURFACE_TO_CORE(dc_surface) \
|
||||
container_of(dc_surface, struct core_surface, public)
|
||||
|
@ -32,6 +32,9 @@
|
||||
/******************************************************************************
|
||||
* Data types shared between different Virtual HW blocks
|
||||
******************************************************************************/
|
||||
|
||||
#define MAX_PIPES 6
|
||||
|
||||
struct gamma_curve {
|
||||
uint32_t offset;
|
||||
uint32_t segments_num;
|
||||
|
@ -207,6 +207,7 @@ struct output_pixel_processor {
|
||||
struct dc_context *ctx;
|
||||
uint32_t inst;
|
||||
struct pwl_params regamma_params;
|
||||
bool mpcc_disconnect_pending[MAX_PIPES];
|
||||
const struct opp_funcs *funcs;
|
||||
};
|
||||
|
||||
|
@ -156,6 +156,8 @@ struct hw_sequencer_funcs {
|
||||
void (*set_avmute)(struct pipe_ctx *pipe_ctx, bool enable);
|
||||
|
||||
void (*log_hw_state)(struct core_dc *dc);
|
||||
|
||||
void (*wait_for_mpcc_disconnect)(struct resource_pool *res_pool, struct pipe_ctx *pipe_ctx);
|
||||
};
|
||||
|
||||
void color_space_to_black_color(
|
||||
|
Reference in New Issue
Block a user