From: Ben Skeggs Date: Mon, 19 Nov 2012 00:18:25 +0000 (+1000) Subject: drm/nvd0/disp: remove fetching of capabilities report X-Git-Tag: v3.8-rc1~42^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=647bf61d0399515c526c125450cadaade79b1988;p=profile%2Fivi%2Fkernel-x86-ivi.git drm/nvd0/disp: remove fetching of capabilities report Unused, and caused a race with evo_sync(). Will revisit using it properly later on. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c index d0920ac..b444aa7 100644 --- a/drivers/gpu/drm/nouveau/nvd0_display.c +++ b/drivers/gpu/drm/nouveau/nvd0_display.c @@ -1863,14 +1863,8 @@ nvd0_display_init(struct drm_device *dev) if (push) { evo_mthd(push, 0x0088, 1); evo_data(push, NvEvoSync); - evo_mthd(push, 0x0084, 1); - evo_data(push, 0x00000000); - evo_mthd(push, 0x0084, 1); - evo_data(push, 0x80000000); - evo_mthd(push, 0x008c, 1); - evo_data(push, 0x00000000); evo_kick(push, nvd0_mast(dev)); - return 0; + return evo_sync(dev); } return -EBUSY;