drm/amd/display: avoid doing vm_init multiple time
authorCharlene Liu <Charlene.Liu@amd.com>
Fri, 5 Aug 2022 16:59:47 +0000 (12:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:09:16 +0000 (18:09 -0400)
commit5544a7b5a07480192eb5fd3536462faed2c21528
treed430ec686aeb38616f886b7919ab7151ca2390cb
parentc65c71ae85095f94aae32d86aa78811318bf6a90
drm/amd/display: avoid doing vm_init multiple time

[why]
this is to ensure that driver will not reprogram hvm_prefetch_req again if
it is done.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c