diff options
author | Anthony Koo <Anthony.Koo@amd.com> | 2017-01-12 14:24:11 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:09:52 -0400 |
commit | 7a1c37e00a660b380fe258fed54fd5af6735814e (patch) | |
tree | d4059d008711702805bd66c152e3c3acf6c462d3 /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | |
parent | fcd2f4bf8bbe73ac860d1be275a22a54a8d8d385 (diff) | |
download | linux-stable-7a1c37e00a660b380fe258fed54fd5af6735814e.tar.gz linux-stable-7a1c37e00a660b380fe258fed54fd5af6735814e.tar.bz2 linux-stable-7a1c37e00a660b380fe258fed54fd5af6735814e.zip |
drm/amd/display: Disable Modules at Runtime
Add NULL check in modules
Signed-off-by: Anthony Koo <anthony.koo@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | 7 |
1 files changed, 0 insertions, 7 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 7abfe34dc2d9..783ff2ef3bee 100644 --- a/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +++ b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h @@ -110,13 +110,6 @@ bool mod_freesync_remove_stream(struct mod_freesync *mod_freesync, const struct dc_stream *stream); /* - * Build additional parameters for dc_stream when creating stream for - * sink to support freesync - */ -void mod_freesync_update_stream(struct mod_freesync *mod_freesync, - struct dc_stream *stream); - -/* * Update the freesync state flags for each display and program * freesync accordingly */ |