From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/gpu/drm/r128/r128_drv.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/kernel/drivers/gpu/drm/r128/r128_drv.c b/kernel/drivers/gpu/drm/r128/r128_drv.c
index 0d2b7e4..b7a5f16 100644
--- a/kernel/drivers/gpu/drm/r128/r128_drv.c
+++ b/kernel/drivers/gpu/drm/r128/r128_drv.c
@@ -30,12 +30,15 @@
*/
#include <linux/module.h>
+#include <linux/pci.h>
-#include <drm/drmP.h>
-#include <drm/r128_drm.h>
-#include "r128_drv.h"
-
+#include <drm/drm_drv.h>
+#include <drm/drm_file.h>
#include <drm/drm_pciids.h>
+#include <drm/drm_vblank.h>
+#include <drm/r128_drm.h>
+
+#include "r128_drv.h"
static struct pci_device_id pciidlist[] = {
r128_PCI_IDS
@@ -57,7 +60,7 @@
static struct drm_driver driver = {
.driver_features =
DRIVER_USE_AGP | DRIVER_PCI_DMA | DRIVER_SG | DRIVER_LEGACY |
- DRIVER_HAVE_DMA | DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED,
+ DRIVER_HAVE_DMA | DRIVER_HAVE_IRQ,
.dev_priv_size = sizeof(drm_r128_buf_priv_t),
.load = r128_driver_load,
.preclose = r128_driver_preclose,
--
Gitblit v1.6.2