drm/amd/display: access ABM from stream resource.
authorYongqiang Sun <yongqiang.sun@amd.com>
Thu, 9 Apr 2020 00:40:02 +0000 (20:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:48 +0000 (18:11 -0400)
commit4dc0b81442c524e69361df7cc6452e6bc99f69ff
tree09bf852c68a7483dfee103776cb3c2caae4b8e3b
parent422d9091f7be46b0d38c562a5750195af832370a
drm/amd/display: access ABM from stream resource.

[Why]
Since ABM resource is mapped to stream res, all the ABM access should
via stream res.

[How]
Get ABM instance from stream res instead of resource pool.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c