Commit 0084e7fc authored by Tony Cheng's avatar Tony Cheng Committed by Alex Deucher

drm/amd/display: remove stream_func vtable

Signed-off-by: default avatarTony Cheng <tony.cheng@amd.com>
Reviewed-by: default avatarSun peng Li <Sunpeng.Li@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6c41f302
...@@ -144,37 +144,6 @@ struct dc_cap_funcs { ...@@ -144,37 +144,6 @@ struct dc_cap_funcs {
struct dc_surface_dcc_cap *output); struct dc_surface_dcc_cap *output);
}; };
struct dc_stream_state_funcs {
bool (*adjust_vmin_vmax)(struct dc *dc,
struct dc_stream_state **stream,
int num_streams,
int vmin,
int vmax);
bool (*get_crtc_position)(struct dc *dc,
struct dc_stream_state **stream,
int num_streams,
unsigned int *v_pos,
unsigned int *nom_v_pos);
bool (*set_gamut_remap)(struct dc *dc,
const struct dc_stream_state *stream);
bool (*program_csc_matrix)(struct dc *dc,
struct dc_stream_state *stream);
void (*set_static_screen_events)(struct dc *dc,
struct dc_stream_state **stream,
int num_streams,
const struct dc_static_screen_events *events);
void (*set_dither_option)(struct dc_stream_state *stream,
enum dc_dither_option option);
void (*set_dpms)(struct dc *dc,
struct dc_stream_state *stream,
bool dpms_off);
};
struct link_training_settings; struct link_training_settings;
struct dc_link_funcs { struct dc_link_funcs {
...@@ -268,7 +237,6 @@ struct dce_hwseq; ...@@ -268,7 +237,6 @@ struct dce_hwseq;
struct dc { struct dc {
struct dc_caps caps; struct dc_caps caps;
struct dc_cap_funcs cap_funcs; struct dc_cap_funcs cap_funcs;
struct dc_stream_state_funcs stream_funcs;
struct dc_link_funcs link_funcs; struct dc_link_funcs link_funcs;
struct dc_config config; struct dc_config config;
struct dc_debug debug; struct dc_debug debug;
......
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