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

Zhenyu Wang zhenyuw at linux.intel.com
Fri Dec 8 06:19:51 UTC 2017


pls fix Makefile too.

On 2017.12.04 14:58:49 +0800, changbin.du at intel.com wrote:
> 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 39c2f3a4..b4747c2 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
> 
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20171208/c904dcab/attachment.sig>


More information about the intel-gvt-dev mailing list