hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/gpu/drm/radeon/rv770.c
....@@ -25,16 +25,20 @@
2525 * Alex Deucher
2626 * Jerome Glisse
2727 */
28
+
2829 #include <linux/firmware.h>
30
+#include <linux/pci.h>
2931 #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"
3138 #include "radeon.h"
3239 #include "radeon_asic.h"
3340 #include "radeon_audio.h"
34
-#include <drm/radeon_drm.h>
3541 #include "rv770d.h"
36
-#include "atom.h"
37
-#include "avivod.h"
3842
3943 #define R700_PFP_UCODE_SIZE 848
4044 #define R700_PM4_UCODE_SIZE 1360
....@@ -1699,7 +1703,7 @@
16991703 * there. So it is pointless to try to go through that code
17001704 * hence why we disable uvd here.
17011705 */
1702
- rdev->has_uvd = 0;
1706
+ rdev->has_uvd = false;
17031707 return;
17041708 }
17051709 rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL;