summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/inc
diff options
context:
space:
mode:
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>2017-07-25 20:51:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:46 -0400
commit4fa086b9b6640818c053c79d4d7104790ba76cb7 (patch)
tree8ec8380842a1642020ff8df2074677fdefc875d3 /drivers/gpu/drm/amd/display/modules/inc
parent2248eb6b4f1fdd7aded987d178a95b021d3a1d91 (diff)
downloadblackbird-obmc-linux-4fa086b9b6640818c053c79d4d7104790ba76cb7.tar.gz
blackbird-obmc-linux-4fa086b9b6640818c053c79d4d7104790ba76cb7.zip
drm/amd/display: Roll core_stream into dc_stream
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc')
-rw-r--r--drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
index 53c428b97902..2b9d45100bdd 100644
--- a/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
+++ b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
@@ -101,67 +101,67 @@ struct mod_freesync_params {
* Add stream to be tracked by module
*/
bool mod_freesync_add_stream(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream, struct mod_freesync_caps *caps);
+ struct dc_stream *stream, struct mod_freesync_caps *caps);
/*
* Remove stream to be tracked by module
*/
bool mod_freesync_remove_stream(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream);
+ struct dc_stream *stream);
/*
* Update the freesync state flags for each display and program
* freesync accordingly
*/
void mod_freesync_update_state(struct mod_freesync *mod_freesync,
- const struct dc_stream **streams, int num_streams,
+ struct dc_stream **streams, int num_streams,
struct mod_freesync_params *freesync_params);
bool mod_freesync_get_state(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream,
+ struct dc_stream *stream,
struct mod_freesync_params *freesync_params);
bool mod_freesync_set_user_enable(struct mod_freesync *mod_freesync,
- const struct dc_stream **streams, int num_streams,
+ struct dc_stream **streams, int num_streams,
struct mod_freesync_user_enable *user_enable);
bool mod_freesync_get_user_enable(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream,
+ struct dc_stream *stream,
struct mod_freesync_user_enable *user_enable);
bool mod_freesync_get_static_ramp_active(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream,
+ struct dc_stream *stream,
bool *is_ramp_active);
bool mod_freesync_override_min_max(struct mod_freesync *mod_freesync,
- const struct dc_stream *streams,
+ struct dc_stream *streams,
unsigned int min_refresh,
unsigned int max_refresh,
struct mod_freesync_caps *caps);
bool mod_freesync_get_min_max(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream,
+ struct dc_stream *stream,
unsigned int *min_refresh,
unsigned int *max_refresh);
bool mod_freesync_get_vmin_vmax(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream,
+ struct dc_stream *stream,
unsigned int *vmin,
unsigned int *vmax);
bool mod_freesync_get_v_position(struct mod_freesync *mod_freesync,
- const struct dc_stream *stream,
+ struct dc_stream *stream,
unsigned int *nom_v_pos,
unsigned int *v_pos);
void mod_freesync_handle_v_update(struct mod_freesync *mod_freesync,
- const struct dc_stream **streams, int num_streams);
+ struct dc_stream **streams, int num_streams);
void mod_freesync_notify_mode_change(struct mod_freesync *mod_freesync,
- const struct dc_stream **streams, int num_streams);
+ struct dc_stream **streams, int num_streams);
void mod_freesync_pre_update_plane_addresses(struct mod_freesync *mod_freesync,
- const struct dc_stream **streams, int num_streams,
+ struct dc_stream **streams, int num_streams,
unsigned int curr_time_stamp);
#endif
OpenPOWER on IntegriCloud