diff options
| author | Edward O'Callaghan <[email protected]> | 2016-11-07 04:35:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-11-23 20:08:43 +0000 |
| commit | 01615881ff4f529cd9af02bfe46f1adf1b7d5793 (patch) | |
| tree | 9568f974d19cdec5e961f229d4ceabb9c2895a89 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | amdgpu: Use dev_err() over vanilla printk() in vm_decode_fault() (diff) | |
| download | kernel-01615881ff4f529cd9af02bfe46f1adf1b7d5793.tar.gz kernel-01615881ff4f529cd9af02bfe46f1adf1b7d5793.zip | |
amdgpu: Wrap dev_err() calls on vm faults with printk_ratelimit()
It can be the case that upon GPU page faults we start trashing
the logs, and so let us ratelimit here to avoid that.
V2. Fix issue where calling dev_err_ratelimited separately for
each line means that some lines corresponding to a single
VM fault may or may not appear depending on the rate.
- Michel Dänzer.
Reviewed-by: Christian König <[email protected]> (v1)
Signed-off-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
