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/mga/mga_drv.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/kernel/drivers/gpu/drm/mga/mga_drv.c b/kernel/drivers/gpu/drm/mga/mga_drv.c
index 1aad278..71128e6 100644
--- a/kernel/drivers/gpu/drm/mga/mga_drv.c
+++ b/kernel/drivers/gpu/drm/mga/mga_drv.c
@@ -31,11 +31,10 @@
#include <linux/module.h>
-#include <drm/drmP.h>
-#include <drm/mga_drm.h>
-#include "mga_drv.h"
-
+#include <drm/drm_drv.h>
#include <drm/drm_pciids.h>
+
+#include "mga_drv.h"
static struct pci_device_id pciidlist[] = {
mga_PCI_IDS
@@ -57,7 +56,7 @@
static struct drm_driver driver = {
.driver_features =
DRIVER_USE_AGP | DRIVER_PCI_DMA | DRIVER_LEGACY |
- DRIVER_HAVE_DMA | DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED,
+ DRIVER_HAVE_DMA | DRIVER_HAVE_IRQ,
.dev_priv_size = sizeof(drm_mga_buf_priv_t),
.load = mga_driver_load,
.unload = mga_driver_unload,
--
Gitblit v1.6.2