.. | .. |
---|
30 | 30 | |
---|
31 | 31 | #include <linux/firmware.h> |
---|
32 | 32 | #include <linux/module.h> |
---|
33 | | -#include <drm/drmP.h> |
---|
| 33 | + |
---|
34 | 34 | #include <drm/drm.h> |
---|
35 | 35 | |
---|
36 | 36 | #include "radeon.h" |
---|
.. | .. |
---|
454 | 454 | if (p->rdev->family >= CHIP_PALM) |
---|
455 | 455 | return 0; |
---|
456 | 456 | |
---|
457 | | - /* fall through */ |
---|
| 457 | + fallthrough; |
---|
458 | 458 | default: |
---|
459 | 459 | DRM_ERROR("UVD codec not supported by hardware %d!\n", |
---|
460 | 460 | stream_type); |
---|
.. | .. |
---|
477 | 477 | return -EINVAL; |
---|
478 | 478 | } |
---|
479 | 479 | |
---|
480 | | - f = reservation_object_get_excl(bo->tbo.resv); |
---|
| 480 | + f = dma_resv_get_excl(bo->tbo.base.resv); |
---|
481 | 481 | if (f) { |
---|
482 | 482 | r = radeon_fence_wait((struct radeon_fence *)f, false); |
---|
483 | 483 | if (r) { |
---|