drm/amd/display: remove dc context from transfer function
authorJosip Pavic <Josip.Pavic@amd.com>
Tue, 1 Sep 2020 21:25:38 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:42 +0000 (17:52 -0400)
commitece11e7b4a9ca8f967d11db1afd3b2ac8c945ecb
tree4a9d3c583b389980c7c9f03245c9bec2c9d9f6a2
parentc44a22b3128d143a66421004b728eed688c21ee6
drm/amd/display: remove dc context from transfer function

[Why]
The ctx field of dc_transfer_func is not always populated and therefore
isn't reliable.

[How]
Remove dc context from dc_transfer_func

Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
drivers/gpu/drm/amd/display/dc/core/dc_surface.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c