diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-01-15 14:44:38 +0100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2010-01-21 08:43:56 +1000 |
commit | 79c2bbc505751bb5130ac753251fc9a0eb37bb12 (patch) | |
tree | 1249938228d4630b9eeabf0d0619034c9666a3af /drivers/net/rrunner.c | |
parent | 0c45249f419d8b86abe0e51c6627ca4b085e8c23 (diff) | |
download | blackbird-op-linux-79c2bbc505751bb5130ac753251fc9a0eb37bb12.tar.gz blackbird-op-linux-79c2bbc505751bb5130ac753251fc9a0eb37bb12.zip |
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>
Diffstat (limited to 'drivers/net/rrunner.c')
0 files changed, 0 insertions, 0 deletions