From: Pierre Moreau Date: Fri, 13 Jun 2014 00:34:30 +0000 (+0200) Subject: drm/nv50/gr: remove an unneeded write while initialising PGRAPH X-Git-Tag: v3.16-rc2~16^2~5^2~6 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0c9483b28bbb17e833db47f65d7fde4f5453d3f1;p=~emulex%2Finfiniband.git drm/nv50/gr: remove an unneeded write while initialising PGRAPH The blob does not seem to write at that place for my NVAC, though it does for my NV96, agreeing with what is done in the if/else structure below. I guess someone forgot to remove the line when the if/else was put in place. Signed-off-by: Pierre Moreau Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c b/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c index 5f34bd0df02..20665c21d80 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c @@ -976,7 +976,6 @@ nv50_graph_init(struct nouveau_object *object) break; case 0xa0: default: - nv_wr32(priv, 0x402cc0, 0x00000000); if (nv_device(priv)->chipset == 0xa0 || nv_device(priv)->chipset == 0xaa || nv_device(priv)->chipset == 0xac) {