aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-12-08 01:56:23 -0500
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-12-08 03:18:32 -0500
commit1aec75ee327f2f2085a4e2b060a3d999b8f4d925 (patch)
tree1091aaeef0daee068b8de19c5f7e2908be57d6f8
parentcf27b950346d5201c291c4e189ed1436a136ae4d (diff)
drm/i915/gvt: Rename file render.{c, h} to mmio_context.{c, h}
Rename the files to reflect their real role - to switch the mmio context of each vGPU engine. v2: update Makefile. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
-rw-r--r--drivers/gpu/drm/i915/gvt/Makefile2
-rw-r--r--drivers/gpu/drm/i915/gvt/gvt.h2
-rw-r--r--drivers/gpu/drm/i915/gvt/mmio_context.c (renamed from drivers/gpu/drm/i915/gvt/render.c)0
-rw-r--r--drivers/gpu/drm/i915/gvt/mmio_context.h (renamed from drivers/gpu/drm/i915/gvt/render.h)0
4 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/gvt/Makefile b/drivers/gpu/drm/i915/gvt/Makefile
index cae06c1dcdcd..0ee9c6250e90 100644
--- a/drivers/gpu/drm/i915/gvt/Makefile
+++ b/drivers/gpu/drm/i915/gvt/Makefile
@@ -1,7 +1,7 @@
1GVT_DIR := gvt 1GVT_DIR := gvt
2GVT_SOURCE := gvt.o aperture_gm.o handlers.o vgpu.o trace_points.o firmware.o \ 2GVT_SOURCE := gvt.o aperture_gm.o handlers.o vgpu.o trace_points.o firmware.o \
3 interrupt.o gtt.o cfg_space.o opregion.o mmio.o display.o edid.o \ 3 interrupt.o gtt.o cfg_space.o opregion.o mmio.o display.o edid.o \
4 execlist.o scheduler.o sched_policy.o render.o cmd_parser.o debugfs.o \ 4 execlist.o scheduler.o sched_policy.o mmio_context.o cmd_parser.o debugfs.o \
5 fb_decoder.o dmabuf.o 5 fb_decoder.o dmabuf.o
6 6
7ccflags-y += -I$(src) -I$(src)/$(GVT_DIR) 7ccflags-y += -I$(src) -I$(src)/$(GVT_DIR)
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h
index 39c2f3a4588e..b4747c270dcb 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.h
+++ b/drivers/gpu/drm/i915/gvt/gvt.h
@@ -44,7 +44,7 @@
44#include "execlist.h" 44#include "execlist.h"
45#include "scheduler.h" 45#include "scheduler.h"
46#include "sched_policy.h" 46#include "sched_policy.h"
47#include "render.h" 47#include "mmio_context.h"
48#include "cmd_parser.h" 48#include "cmd_parser.h"
49#include "fb_decoder.h" 49#include "fb_decoder.h"
50#include "dmabuf.h" 50#include "dmabuf.h"
diff --git a/drivers/gpu/drm/i915/gvt/render.c b/drivers/gpu/drm/i915/gvt/mmio_context.c
index 4c8e1285c607..4c8e1285c607 100644
--- a/drivers/gpu/drm/i915/gvt/render.c
+++ b/drivers/gpu/drm/i915/gvt/mmio_context.c
diff --git a/drivers/gpu/drm/i915/gvt/render.h b/drivers/gpu/drm/i915/gvt/mmio_context.h
index ca2c6a745673..ca2c6a745673 100644
--- a/drivers/gpu/drm/i915/gvt/render.h
+++ b/drivers/gpu/drm/i915/gvt/mmio_context.h