mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
drm/amd/display: Remove unused code for some dc files
Cleanup unused code in DC. Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7662bc61c0
commit
9bf115ac66
|
|
@ -3614,9 +3614,6 @@ static void commit_plane_for_stream_offload_fams2_flip(struct dc *dc,
|
|||
for (i = 0; i < surface_count; i++) {
|
||||
struct dc_plane_state *plane_state = srf_updates[i].surface;
|
||||
|
||||
/* set offload flag so driver does not program address */
|
||||
plane_state->address.offload_flip = true;
|
||||
|
||||
for (j = 0; j < dc->res_pool->pipe_count; j++) {
|
||||
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
|
||||
|
||||
|
|
@ -3638,12 +3635,6 @@ static void commit_plane_for_stream_offload_fams2_flip(struct dc *dc,
|
|||
stream,
|
||||
srf_updates,
|
||||
surface_count);
|
||||
|
||||
/* reset offload flip flag */
|
||||
for (i = 0; i < surface_count; i++) {
|
||||
struct dc_plane_state *plane_state = srf_updates[i].surface;
|
||||
plane_state->address.offload_flip = false;
|
||||
}
|
||||
}
|
||||
|
||||
static void commit_planes_for_stream_fast(struct dc *dc,
|
||||
|
|
|
|||
|
|
@ -125,9 +125,6 @@ struct dc_plane_address {
|
|||
union large_integer page_table_base;
|
||||
|
||||
uint8_t vmid;
|
||||
/* dc should use hw flip queue rather than directly programming the surface address.
|
||||
* Value is determined on each flip. */
|
||||
bool offload_flip;
|
||||
};
|
||||
|
||||
struct dc_size {
|
||||
|
|
|
|||
|
|
@ -1091,10 +1091,6 @@ void mpc3_power_on_ogam_lut(
|
|||
|
||||
void mpc3_init_mpcc(struct mpcc *mpcc, int mpcc_inst);
|
||||
|
||||
void mpc3_mpc_init_single_inst(
|
||||
struct mpc *mpc,
|
||||
unsigned int mpcc_id);
|
||||
|
||||
enum dc_lut_mode mpc3_get_ogam_current(
|
||||
struct mpc *mpc,
|
||||
int mpcc_id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user