From: Alan Cox Date: Mon, 20 Aug 2012 14:44:52 +0000 (+0000) Subject: drm: stop vmgfx driver explosion X-Git-Tag: v3.6-rc3~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5869a8308f77e3dfdc2e3640842b285aa788ff8;p=pandora-kernel.git drm: stop vmgfx driver explosion If you do a page flip with no flags set then event is NULL. If event is NULL then the vmw_gfx driver likes to go digging into NULL and extracts NULL->base.file_priv. On a modern kernel with NULL mapping protection it's just another oops, without it there are some "intriguing" possibilities. What it should do is an open question but that for the driver owners to sort out. Signed-off-by: Alan Cox Reviewed-by: Jakob Bornecrantz Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed