[PATCH 2/2] drm/i915/gvt: Rename file render.{c, h} to mmio_context.{c, h}

changbin.du at intel.com changbin.du at intel.com
Wed Nov 29 07:35:57 UTC 2017


From: Changbin Du <changbin.du at intel.com>

Rename the files to reflect their real role - to switch the mmio context of
each vGPU engine.

Signed-off-by: Changbin Du <changbin.du at intel.com>
---
 drivers/gpu/drm/i915/gvt/gvt.h                        | 2 +-
 drivers/gpu/drm/i915/gvt/{render.c => mmio_context.c} | 0
 drivers/gpu/drm/i915/gvt/{render.h => mmio_context.h} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/gpu/drm/i915/gvt/{render.c => mmio_context.c} (100%)
 rename drivers/gpu/drm/i915/gvt/{render.h => mmio_context.h} (100%)

diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h
index 62ed012..6764775 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.h
+++ b/drivers/gpu/drm/i915/gvt/gvt.h
@@ -44,7 +44,7 @@
 #include "execlist.h"
 #include "scheduler.h"
 #include "sched_policy.h"
-#include "render.h"
+#include "mmio_context.h"
 #include "cmd_parser.h"
 #include "fb_decoder.h"
 #include "dmabuf.h"
diff --git a/drivers/gpu/drm/i915/gvt/render.c b/drivers/gpu/drm/i915/gvt/mmio_context.c
similarity index 100%
rename from drivers/gpu/drm/i915/gvt/render.c
rename to 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
similarity index 100%
rename from drivers/gpu/drm/i915/gvt/render.h
rename to drivers/gpu/drm/i915/gvt/mmio_context.h
-- 
2.7.4



More information about the intel-gvt-dev mailing list