diff options
author | Eric Bernstein <eric.bernstein@amd.com> | 2017-11-16 15:34:50 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-14 10:53:44 -0500 |
commit | 4e1c1875c79b14a05b2bab45aee9b907f805447d (patch) | |
tree | 916a5198de4d0e627a35be50a5e4cddb4644630c /drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | |
parent | drm/amd/display: CNVC pseudocode review follow up (diff) | |
download | linux-dev-4e1c1875c79b14a05b2bab45aee9b907f805447d.tar.xz linux-dev-4e1c1875c79b14a05b2bab45aee9b907f805447d.zip |
drm/amd/display: Reset MPCC muxes during init
During HW initialization, instead of assuming or
detecting the existing MPCC mux configuration and
then removing existing planes, reset all the MPCC
muxes.
Signed-off-by: Eric Bernstein <eric.bernstein@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h index 2396b15befb0..23a8d5e53a89 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h @@ -151,13 +151,10 @@ struct mpc_funcs { * * Parameters: * [in/out] mpc - MPC context. - * [in] mpcc_id - The MPCC physical instance to reset. * * Return: void */ - void (*reset_mpcc)( - struct mpc *mpc, - int mpcc_id); + void (*mpc_init)(struct mpc *mpc); /* * Update the blending configuration for a specified MPCC. @@ -186,8 +183,6 @@ struct mpc_funcs { struct mpc *mpc, struct mpc_tree *tree); - int (*get_opp_id)(struct mpc *mpc, int mpcc_id); - }; #endif |