| .. | .. |
|---|
| 25 | 25 | * Alex Deucher |
|---|
| 26 | 26 | * Jerome Glisse |
|---|
| 27 | 27 | */ |
|---|
| 28 | | -#include <drm/drmP.h> |
|---|
| 28 | + |
|---|
| 29 | 29 | #include "radeon.h" |
|---|
| 30 | 30 | #include "radeon_asic.h" |
|---|
| 31 | 31 | #include "evergreend.h" |
|---|
| .. | .. |
|---|
| 2417 | 2417 | size = radeon_get_ib_value(p, idx+1+(i*8)+1); |
|---|
| 2418 | 2418 | if (p->rdev && (size + offset) > radeon_bo_size(reloc->robj)) { |
|---|
| 2419 | 2419 | /* force size to size of the buffer */ |
|---|
| 2420 | | - dev_warn(p->dev, "vbo resource seems too big for the bo\n"); |
|---|
| 2420 | + dev_warn_ratelimited(p->dev, "vbo resource seems too big for the bo\n"); |
|---|
| 2421 | 2421 | ib[idx+1+(i*8)+1] = radeon_bo_size(reloc->robj) - offset; |
|---|
| 2422 | 2422 | } |
|---|
| 2423 | 2423 | |
|---|