Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 008be682 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Daniel Vetter
Browse files

drm/vmwgfx: fix include notation and remove -Iinclude/drm flag



Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-18-git-send-email-yamada.masahiro@socionext.com
parent ff67a25d
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line

ccflags-y := -Iinclude/drm

vmwgfx-y := vmwgfx_execbuf.o vmwgfx_gmr.o vmwgfx_kms.o vmwgfx_drv.o \
vmwgfx-y := vmwgfx_execbuf.o vmwgfx_gmr.o vmwgfx_kms.o vmwgfx_drv.o \
	    vmwgfx_fb.o vmwgfx_ioctl.o vmwgfx_resource.o vmwgfx_buffer.o \
	    vmwgfx_fb.o vmwgfx_ioctl.o vmwgfx_resource.o vmwgfx_buffer.o \
	    vmwgfx_fifo.o vmwgfx_irq.o vmwgfx_ldu.o vmwgfx_ttm_glue.o \
	    vmwgfx_fifo.o vmwgfx_irq.o vmwgfx_ldu.o vmwgfx_ttm_glue.o \
+2 −1
Original line number Original line Diff line number Diff line
@@ -25,8 +25,9 @@
 *
 *
 **************************************************************************/
 **************************************************************************/


#include <drm/ttm/ttm_bo_api.h>

#include "vmwgfx_drv.h"
#include "vmwgfx_drv.h"
#include "ttm/ttm_bo_api.h"


/*
/*
 * Size of inline command buffers. Try to make sure that a page size is a
 * Size of inline command buffers. Try to make sure that a page size is a
+2 −1
Original line number Original line Diff line number Diff line
@@ -25,10 +25,11 @@
 *
 *
 **************************************************************************/
 **************************************************************************/


#include <drm/ttm/ttm_placement.h>

#include "vmwgfx_drv.h"
#include "vmwgfx_drv.h"
#include "vmwgfx_resource_priv.h"
#include "vmwgfx_resource_priv.h"
#include "vmwgfx_binding.h"
#include "vmwgfx_binding.h"
#include "ttm/ttm_placement.h"


struct vmw_user_context {
struct vmw_user_context {
	struct ttm_base_object base;
	struct ttm_base_object base;
+2 −1
Original line number Original line Diff line number Diff line
@@ -30,9 +30,10 @@
 * whenever the backing MOB is evicted.
 * whenever the backing MOB is evicted.
 */
 */


#include <drm/ttm/ttm_placement.h>

#include "vmwgfx_drv.h"
#include "vmwgfx_drv.h"
#include "vmwgfx_resource_priv.h"
#include "vmwgfx_resource_priv.h"
#include <ttm/ttm_placement.h>
#include "vmwgfx_so.h"
#include "vmwgfx_so.h"


/**
/**
+1 −1
Original line number Original line Diff line number Diff line
@@ -30,7 +30,7 @@
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/frame.h>
#include <linux/frame.h>
#include <asm/hypervisor.h>
#include <asm/hypervisor.h>
#include "drmP.h"
#include <drm/drmP.h>
#include "vmwgfx_msg.h"
#include "vmwgfx_msg.h"




Loading