From: Jerome Glisse Date: Fri, 15 Jan 2010 13:44:38 +0000 (+0100) Subject: drm/radeon/kms: r600/r700 don't process IRQ if not initialized X-Git-Tag: v2.6.33-rc6~27^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79c2bbc505751bb5130ac753251fc9a0eb37bb12;p=pandora-kernel.git drm/radeon/kms: r600/r700 don't process IRQ if not initialized In some rare case the wptr returned from the hw wasn't 0 and leaded to trick r600_process_irq that their were irq to process. Add a check to bail out if irq hasn't been initialized this will avoid oops provoqued by the rare wptr != 0 on initialization. Signed-off-by: Jerome Glisse Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed