]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited6217b542444f218399780229591f79fa4b0d22
tree09bf852c68a7483dfee103776cb3c2caae4b8e3b
parent18bce3ce9d93c5ea7c57b57c316949ef27ccce2c
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