Alessandro Pignotti noted when I added this code in commit
0e723b135bfd59868c92c3ae243f1adaedaec3a5 that it's in the else block for
"if (busy)", so this debug print couldn't happen.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
drm_intel_bo_unreference(temp_bo);
}
} else {
- if (unlikely(intel->perf_debug)) {
- if (drm_intel_bo_busy(intel_obj->buffer)) {
- perf_debug("Stalling on the GPU in glBufferSubData().\n");
- }
- }
drm_intel_bo_subdata(intel_obj->buffer, offset, size, data);
}
}