forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/radeon/evergreen.c
....@@ -21,18 +21,22 @@
2121 *
2222 * Authors: Alex Deucher
2323 */
24
+
2425 #include <linux/firmware.h>
26
+#include <linux/pci.h>
2527 #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"
2737 #include "radeon.h"
2838 #include "radeon_asic.h"
2939 #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"
3640 #include "radeon_ucode.h"
3741
3842 #define DC_HPDx_CONTROL(x) (DC_HPD1_CONTROL + (x * 0xc))
....@@ -4941,7 +4945,7 @@
49414945 * there. So it is pointless to try to go through that code
49424946 * hence why we disable uvd here.
49434947 */
4944
- rdev->has_uvd = 0;
4948
+ rdev->has_uvd = false;
49454949 return;
49464950 }
49474951 rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL;