commit | 79c2bbc505751bb5130ac753251fc9a0eb37bb12 | [log] [tgz] |
---|---|---|
author | Jerome Glisse <jglisse@redhat.com> | Fri Jan 15 14:44:38 2010 +0100 |
committer | Dave Airlie <airlied@linux.ie> | Thu Jan 21 08:43:56 2010 +1000 |
tree | 1249938228d4630b9eeabf0d0619034c9666a3af | |
parent | 0c45249f419d8b86abe0e51c6627ca4b085e8c23 [diff] |
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 <jglisse@redhat.com> Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@linux.ie>