]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: enable hostvm based on roimmu active for dcn2.1
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 2 Oct 2019 19:19:41 +0000 (15:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:27:58 +0000 (16:27 -0400)
commit9805a0d942cf8dc2de34c7b94d4affbf0ded456f
tree86904f21a1f6d9677344ce88f0be40b1d666db43
parent71072b9e252f65b158a0edcad714d218269bd665
drm/amd/display: enable hostvm based on roimmu active for dcn2.1

Enabling hostvm when ROIMMU is not active seems to break GPUVM.
This fixes the issue by not enabling hostvm if ROIMMU is not
activated.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c