summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/xserver-kdrive-nomadik/nomadik_xserver_sva_service_cleanup.patch
blob: 6d876967d3183aa0f9214fa14404c179f142e428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
 hw/kdrive/nomadik/nomadik-video.c |    2 ++
 1 file changed, 2 insertions(+)

--- xorg-server-1.3.0.0.orig/hw/kdrive/nomadik/nomadik-video.c
+++ xorg-server-1.3.0.0/hw/kdrive/nomadik/nomadik-video.c
@@ -1571,10 +1571,12 @@ nomadikStopVideo (KdScreenInfo *screen,
 {
     NomadikXVPriv *xvPriv = data ;
 
     NOMADIK_LOG("enter\n") ;
     if (exit) {
+	NOMADIK_LOG ("clear all the service ...\n") ;
+        nomadikXVPrivClearSVAServices (xvPriv) ;
         NOMADIK_LOG ("freeing sva cur buffer...\n") ;
         nomadikXVPrivFreeSVABuffer (xvPriv) ;
         NOMADIK_LOG ("sva cur buffer freed\n") ;
         REGION_EMPTY (screen->pScreen,
                       &xvPriv->clipping_region) ;