diff options
author | Dave Airlie <[email protected]> | 2011-06-18 03:59:51 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-06-20 12:01:43 +1000 |
commit | 682f1a54a03513fd6bcede56845f1ba21f48c182 (patch) | |
tree | 03e3dce23297f943e48dbaedee5d7c4d35bbb6d3 /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions