]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1edfab8676a81e98009af8d1a6eb47ffd6c14304
tree4a9d3c583b389980c7c9f03245c9bec2c9d9f6a2
parent94793341210bd235eca4e10bb20c322048c346a1
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