mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 10:10:12 +01:00
drm-gem: Fix build
On some distros missing prototypes cause kernel builds to fail. These are hack to make the code build.
This commit is contained in:
parent
f5c2f00e2f
commit
4d83a751b4
2 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include "drm_compat.h"
|
||||
#include "i915_drm.h"
|
||||
#include "i915_drv.h"
|
||||
#include <linux/swap.h>
|
||||
|
||||
#define WATCH_COHERENCY 0
|
||||
#define WATCH_BUF 0
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@
|
|||
#include "i915_drm.h"
|
||||
#include "i915_drv.h"
|
||||
|
||||
extern int pci_read_base(struct pci_dev *dev, unsigned int reg,
|
||||
struct resource *res);
|
||||
|
||||
/** @file i915_gem_tiling.c
|
||||
*
|
||||
* Support for managing tiling state of buffer objects.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue