[Mesa-dev] [PATCH 01/12] gallium/radeon/winsyses: remove #includes of pb_bufmgr.h
Nicolai Hähnle
nhaehnle at gmail.com
Fri Sep 9 17:34:03 UTC 2016
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/gallium/winsys/amdgpu/drm/amdgpu_bo.h | 1 -
src/gallium/winsys/radeon/drm/radeon_drm_bo.h | 1 -
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
index e2ee049..70d9854 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
@@ -27,21 +27,20 @@
*/
/*
* Authors:
* Marek Olšák <maraeo at gmail.com>
*/
#ifndef AMDGPU_BO_H
#define AMDGPU_BO_H
#include "amdgpu_winsys.h"
-#include "pipebuffer/pb_bufmgr.h"
struct amdgpu_winsys_bo {
struct pb_buffer base;
struct pb_cache_entry cache_entry;
struct amdgpu_winsys *ws;
void *user_ptr; /* from buffer_from_ptr */
amdgpu_bo_handle bo;
int map_count;
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
index f7f4ce3..a9f31c0 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
@@ -26,21 +26,20 @@
*/
/*
* Authors:
* Jérôme Glisse <glisse at freedesktop.org>
* Marek Olšák <maraeo at gmail.com>
*/
#ifndef RADEON_DRM_BO_H
#define RADEON_DRM_BO_H
#include "radeon_drm_winsys.h"
-#include "pipebuffer/pb_bufmgr.h"
#include "os/os_thread.h"
struct radeon_bo {
struct pb_buffer base;
struct pb_cache_entry cache_entry;
struct radeon_drm_winsys *rws;
void *user_ptr; /* from buffer_from_ptr */
void *ptr;
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index d73b7f4..aa4bf5f 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -28,21 +28,20 @@
* Authors:
* Corbin Simpson <MostAwesomeDude at gmail.com>
* Joakim Sindholt <opensource at zhasha.com>
* Marek Olšák <maraeo at gmail.com>
*/
#include "radeon_drm_bo.h"
#include "radeon_drm_cs.h"
#include "radeon_drm_public.h"
-#include "pipebuffer/pb_bufmgr.h"
#include "util/u_memory.h"
#include "util/u_hash_table.h"
#include <xf86drm.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <radeon_surface.h>
--
2.7.4
More information about the mesa-dev
mailing list