]> 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)
commitcca6b23d4396bd1faca78204c3bac9706ded89cd
tree09bf852c68a7483dfee103776cb3c2caae4b8e3b
parent61a291a8eaf83b9449f5e157edce5519e140ed6f
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