commit | 682f1a54a03513fd6bcede56845f1ba21f48c182 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Sat Jun 18 03:59:51 2011 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Mon Jun 20 12:01:43 2011 +1000 |
tree | 03e3dce23297f943e48dbaedee5d7c4d35bbb6d3 | |
parent | 74d074eecbb4778e5f5ee7d59399da971682c532 [diff] |
drm/radeon: avoid warnings from r600/eg irq handlers on powered off card. Since we were calling the wptr function before checking if the IH was even enabled, or the GPU wasn't shutdown, we'd get spam in the logs when the GPU readback 0xffffffff. This reorders things so we return early in the no IH and GPU shutdown cases. Reported-and-tested-by: ManDay on #radeon Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>