From 708cb3f9d9b66030dd0bfc4beaa657fcdfded784 Mon Sep 17 00:00:00 2001 From: Arthur Huillet Date: Fri, 31 Aug 2007 21:42:51 +0200 Subject: [PATCH] Xv: now "powercycling" the overlay using PMC_ENABLE in order to workaround some lock up problems --- src/nv_video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nv_video.c b/src/nv_video.c index 7cf2654..48e0ebf 100644 --- a/src/nv_video.c +++ b/src/nv_video.c @@ -402,6 +402,8 @@ NVFreeOverlayMemory(ScrnInfoPtr pScrn) NVPtr pNv = NVPTR(pScrn); NVPortPrivPtr pPriv = GET_OVERLAY_PRIVATE(pNv); NVFreePortMemory(pScrn, pPriv); + nvWriteMC(pNv, 0x200, (nvReadMC(pNv, 0x200) & 0xEFFFFFFF)); + nvWriteMC(pNv, 0x200, (nvReadMC(pNv, 0x200) | 0x10000000)); } /** -- 2.32.0.93.g670b81a890