.. | .. |
---|
21 | 21 | * |
---|
22 | 22 | * Authors: Alex Deucher |
---|
23 | 23 | */ |
---|
| 24 | + |
---|
24 | 25 | #include <linux/firmware.h> |
---|
25 | | -#include <linux/slab.h> |
---|
26 | 26 | #include <linux/module.h> |
---|
27 | | -#include <drm/drmP.h> |
---|
| 27 | +#include <linux/pci.h> |
---|
| 28 | +#include <linux/slab.h> |
---|
| 29 | + |
---|
| 30 | +#include <drm/radeon_drm.h> |
---|
| 31 | + |
---|
| 32 | +#include "atom.h" |
---|
| 33 | +#include "cayman_blit_shaders.h" |
---|
| 34 | +#include "clearstate_cayman.h" |
---|
| 35 | +#include "ni_reg.h" |
---|
| 36 | +#include "nid.h" |
---|
28 | 37 | #include "radeon.h" |
---|
29 | 38 | #include "radeon_asic.h" |
---|
30 | 39 | #include "radeon_audio.h" |
---|
31 | | -#include <drm/radeon_drm.h> |
---|
32 | | -#include "nid.h" |
---|
33 | | -#include "atom.h" |
---|
34 | | -#include "ni_reg.h" |
---|
35 | | -#include "cayman_blit_shaders.h" |
---|
36 | 40 | #include "radeon_ucode.h" |
---|
37 | | -#include "clearstate_cayman.h" |
---|
38 | 41 | |
---|
39 | 42 | /* |
---|
40 | 43 | * Indirect registers accessor |
---|
.. | .. |
---|
2014 | 2017 | * there. So it is pointless to try to go through that code |
---|
2015 | 2018 | * hence why we disable uvd here. |
---|
2016 | 2019 | */ |
---|
2017 | | - rdev->has_uvd = 0; |
---|
| 2020 | + rdev->has_uvd = false; |
---|
2018 | 2021 | return; |
---|
2019 | 2022 | } |
---|
2020 | 2023 | rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; |
---|
.. | .. |
---|
2082 | 2085 | * there. So it is pointless to try to go through that code |
---|
2083 | 2086 | * hence why we disable vce here. |
---|
2084 | 2087 | */ |
---|
2085 | | - rdev->has_vce = 0; |
---|
| 2088 | + rdev->has_vce = false; |
---|
2086 | 2089 | return; |
---|
2087 | 2090 | } |
---|
2088 | 2091 | rdev->ring[TN_RING_TYPE_VCE1_INDEX].ring_obj = NULL; |
---|