From d05f92b18a46520a790e57eaf077b4e18fab98f6 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Tue, 29 Mar 2022 13:14:36 +0200 Subject: [PATCH] hv: Hibernate DCP in hv_init DCP will otherwise not be useable from the guest system. Signed-off-by: Janne Grunau --- src/hv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hv.c b/src/hv.c index e793ae91..8c858bdb 100644 --- a/src/hv.c +++ b/src/hv.c @@ -3,6 +3,7 @@ #include "hv.h" #include "assert.h" #include "cpu_regs.h" +#include "display.h" #include "gxf.h" #include "memory.h" #include "pcie.h" @@ -49,6 +50,7 @@ static struct hv_secondary_info_t hv_secondary_info; void hv_init(void) { pcie_shutdown(); + display_shutdown(); // reenable hpm interrupts for the guest for unused iodevs usb_hpm_restore_irqs(0); smp_start_secondaries();