| .. | .. |
|---|
| 25 | 25 | * Alex Deucher |
|---|
| 26 | 26 | * Jerome Glisse |
|---|
| 27 | 27 | */ |
|---|
| 28 | + |
|---|
| 28 | 29 | #include <linux/firmware.h> |
|---|
| 30 | +#include <linux/pci.h> |
|---|
| 29 | 31 | #include <linux/slab.h> |
|---|
| 30 | | -#include <drm/drmP.h> |
|---|
| 32 | + |
|---|
| 33 | +#include <drm/drm_device.h> |
|---|
| 34 | +#include <drm/radeon_drm.h> |
|---|
| 35 | + |
|---|
| 36 | +#include "atom.h" |
|---|
| 37 | +#include "avivod.h" |
|---|
| 31 | 38 | #include "radeon.h" |
|---|
| 32 | 39 | #include "radeon_asic.h" |
|---|
| 33 | 40 | #include "radeon_audio.h" |
|---|
| 34 | | -#include <drm/radeon_drm.h> |
|---|
| 35 | 41 | #include "rv770d.h" |
|---|
| 36 | | -#include "atom.h" |
|---|
| 37 | | -#include "avivod.h" |
|---|
| 38 | 42 | |
|---|
| 39 | 43 | #define R700_PFP_UCODE_SIZE 848 |
|---|
| 40 | 44 | #define R700_PM4_UCODE_SIZE 1360 |
|---|
| .. | .. |
|---|
| 1699 | 1703 | * there. So it is pointless to try to go through that code |
|---|
| 1700 | 1704 | * hence why we disable uvd here. |
|---|
| 1701 | 1705 | */ |
|---|
| 1702 | | - rdev->has_uvd = 0; |
|---|
| 1706 | + rdev->has_uvd = false; |
|---|
| 1703 | 1707 | return; |
|---|
| 1704 | 1708 | } |
|---|
| 1705 | 1709 | rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; |
|---|