.. | .. |
---|
21 | 21 | * |
---|
22 | 22 | * Authors: Alex Deucher |
---|
23 | 23 | */ |
---|
| 24 | + |
---|
24 | 25 | #include <linux/firmware.h> |
---|
| 26 | +#include <linux/pci.h> |
---|
25 | 27 | #include <linux/slab.h> |
---|
26 | | -#include <drm/drmP.h> |
---|
| 28 | + |
---|
| 29 | +#include <drm/drm_vblank.h> |
---|
| 30 | +#include <drm/radeon_drm.h> |
---|
| 31 | + |
---|
| 32 | +#include "atom.h" |
---|
| 33 | +#include "avivod.h" |
---|
| 34 | +#include "evergreen_blit_shaders.h" |
---|
| 35 | +#include "evergreen_reg.h" |
---|
| 36 | +#include "evergreend.h" |
---|
27 | 37 | #include "radeon.h" |
---|
28 | 38 | #include "radeon_asic.h" |
---|
29 | 39 | #include "radeon_audio.h" |
---|
30 | | -#include <drm/radeon_drm.h> |
---|
31 | | -#include "evergreend.h" |
---|
32 | | -#include "atom.h" |
---|
33 | | -#include "avivod.h" |
---|
34 | | -#include "evergreen_reg.h" |
---|
35 | | -#include "evergreen_blit_shaders.h" |
---|
36 | 40 | #include "radeon_ucode.h" |
---|
37 | 41 | |
---|
38 | 42 | #define DC_HPDx_CONTROL(x) (DC_HPD1_CONTROL + (x * 0xc)) |
---|
.. | .. |
---|
4941 | 4945 | * there. So it is pointless to try to go through that code |
---|
4942 | 4946 | * hence why we disable uvd here. |
---|
4943 | 4947 | */ |
---|
4944 | | - rdev->has_uvd = 0; |
---|
| 4948 | + rdev->has_uvd = false; |
---|
4945 | 4949 | return; |
---|
4946 | 4950 | } |
---|
4947 | 4951 | rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; |
---|