drm/amd/display: Remove unnecessary dc_stream vtable
authorHarry Wentland <harry.wentland@amd.com>
Wed, 1 Nov 2017 15:43:36 +0000 (11:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:45 +0000 (12:47 -0500)
commit2a06e0a5a491f306e22eb5a5239a6bd8ce0f1ac6
treef1c1b237d6c4f36b6921a9931c5948d18c05ad97
parent2e5fa5ba50b045500fceea1ef1d0fdc13a7e0e1f
drm/amd/display: Remove unnecessary dc_stream vtable

There's no need to have this as a vtable. The vtable was initially
used for stream_adjust_vmin_vmax but the condition checked here
(set_drr) is always true, hence we don't need to assign this
dynamically anymore.

Signed-off-by: Harry Wentland <harry.wentland@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>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_stream.h
drivers/gpu/drm/amd/display/modules/freesync/freesync.c