[Nouveau] [PATCH] drm/nouveau/disp: remove unused function in sorg94.c

2016-09-15 Thread Baoyou Xie
We get 1 warning when building kernel with W=1:
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c:49:1: warning: no previous 
prototype for 'g94_sor_output_new' [-Wmissing-prototypes]

In fact, this function is called by no one and not exported,
so this patch removes it.

Signed-off-by: Baoyou Xie 
---
 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c | 8 
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 
b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c
index 1bb9d66..4510cb6 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c
@@ -45,14 +45,6 @@ static const struct nvkm_output_func
 g94_sor_output_func = {
 };
 
-int
-g94_sor_output_new(struct nvkm_disp *disp, int index,
-  struct dcb_output *dcbE, struct nvkm_output **poutp)
-{
-   return nvkm_output_new_(&g94_sor_output_func, disp,
-   index, dcbE, poutp);
-}
-
 
/***
  * DisplayPort
  
**/
-- 
2.7.4

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 97462] Graphics deadlock "ILLEGAL_MTHD" in nouveau with mesa version 11.2.2 when visiting Google Maps with firefox 49.0b5

2016-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97462

--- Comment #9 from Paviluf  ---
I have the same problem I think. I opened a bug report against Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=1302974

As you can see there it seem that is
"user_pref("layers.acceleration.force-enabled", true);" that make Firefox
crash. If I set it to false Google Maps works. To confirm with a clean profile,
Firefox crash on Google Maps with just this setting enabled
"user_pref("layers.acceleration.force-enabled", true);". Weirdly it make
Firefox crash only on Google Maps. Unfortunately I, and a lot of people I
guess, need this feature to get rid of tearing. Firefox doesn't crash in safe
mode. It don't crash too with HWA disabled.

Here is the section "graphics"

Accélération graphique
Fonctionnalités
Composition OpenGL
Zoom/Panoramique asynchronesaucun
Rendu WebGL nouveau -- Gallium 0.4 on NVC1
Décodage matériel H264  No
GPU 1
Actif   Oui
Description nouveau -- Gallium 0.4 on NVC1
ID du vendeur   nouveau
ID du périphérique  Gallium 0.4 on NVC1
Version du pilote   3.0 Mesa 12.0.2
Diagnostics
AzureCanvasAccelerated  0
AzureCanvasBackend  skia
AzureContentBackend cairo
AzureFallbackCanvasBackend  none
CairoUseXRender 0

I hope we can find a fix ! Thanks !

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau