mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 05:44:31 +08:00
drm/nouveau: drop drmP.h from nouveau_drv.h
Drop the deprecated drmP.h header from nouveau_drv.h. Fix fallout in other parts of the driver. Build tested using allmodconfig and allyesconfig. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Ben Skeggs <bskeggs@redhat.com> Cc: nouveau@lists.freedesktop.org Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
977b7e81df
commit
c587cd6fc8
@ -25,7 +25,9 @@
|
||||
#include <nvif/event.h>
|
||||
|
||||
#include <drm/drm_atomic_helper.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
#include <drm/drm_plane_helper.h>
|
||||
|
||||
#include "nouveau_bo.h"
|
||||
|
||||
void
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "atom.h"
|
||||
|
||||
#include <drm/drm_atomic_helper.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
#include <drm/drm_plane_helper.h>
|
||||
|
||||
#include <nvif/cl507e.h>
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include <nvif/cl0002.h>
|
||||
|
||||
#include <drm/drm_atomic_helper.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
|
||||
#include "nouveau_bo.h"
|
||||
|
||||
static void
|
||||
|
@ -1,9 +1,13 @@
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NOUVEAU_DISPLAY_H__
|
||||
#define __NOUVEAU_DISPLAY_H__
|
||||
|
||||
#include "nouveau_drv.h"
|
||||
|
||||
#include <nvif/disp.h>
|
||||
|
||||
#include <drm/drm_framebuffer.h>
|
||||
|
||||
struct nouveau_framebuffer {
|
||||
struct drm_framebuffer base;
|
||||
struct nouveau_bo *nvbo;
|
||||
|
@ -46,7 +46,10 @@
|
||||
#include <nvif/mmu.h>
|
||||
#include <nvif/vmm.h>
|
||||
|
||||
#include <drm/drmP.h>
|
||||
#include <drm/drm_connector.h>
|
||||
#include <drm/drm_device.h>
|
||||
#include <drm/drm_drv.h>
|
||||
#include <drm/drm_file.h>
|
||||
|
||||
#include <drm/ttm/ttm_bo_api.h>
|
||||
#include <drm/ttm/ttm_bo_driver.h>
|
||||
|
Loading…
Reference in New Issue
Block a user