]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72af8acff61fe20f82f48610e8ab79b85e7ec837
treef1c1b237d6c4f36b6921a9931c5948d18c05ad97
parentb2930e4c4b81c9523874f125848c258636f1a2a5
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