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)
commit48d92e8eda3d9b61978377e7539bfc5958e850cf
tree86904f21a1f6d9677344ce88f0be40b1d666db43
parent15fdbcc51f12771bd3abd9fdeb854bf364b203b4
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