drm/i915/gvt: Deadcoding
cover drm/i915/gvt: Deadcoding
From: "Dr. David Alan Gilbert" <[email protected]>
Remove a bunch of long unused functions from
the gvt code.
Dr. David Alan Gilbert (3):
drm/i915/gvt: Remove intel_gvt_ggtt_h2g<->index drm/i915/gvt: Remove unused intel_vgpu_decode_sprite_plane drm/i915/gvt: Remove unused intel_gvt_in_force_nonpriv_whitelist
drivers/gpu/drm/i915/gvt/fb_decoder.c | 117 -------------------------- drivers/gpu/drm/i915/gvt/fb_decoder.h | 2 - drivers/gpu/drm/i915/gvt/gtt.c | 66 --------------- drivers/gpu/drm/i915/gvt/gvt.h | 6 -- drivers/gpu/drm/i915/gvt/handlers.c | 17 ---- drivers/gpu/drm/i915/gvt/mmio.h | 3 - 6 files changed, 211 deletions(-)
Signature · 1 line
2.47.1
PATCH 1/3 drm/i915/gvt: Remove intel_gvt_ggtt_h2g<->index
From: "Dr. David Alan Gilbert" <[email protected]>
intel_gvt_ggtt_h2g_index() and intel_gvt_ggtt_index_g2h() were added in 2016 by
commit 2707e4446688 ("drm/i915/gvt: vGPU graphics memory virtualization") but haven't been used.
Remove them.
They were the only users of intel_gvt_ggtt_gmadr_g2h() and intel_gvt_ggtt_gmadr_h2g().
Remove them.
--- drivers/gpu/drm/i915/gvt/gtt.c | 66 ---------------------------------- drivers/gpu/drm/i915/gvt/gvt.h | 6 ---- 2 files changed, 72 deletions(-)
drivers/gpu/drm/i915/gvt/gtt.c +0 -66
@@ -71,72 +71,6 @@ bool intel_gvt_ggtt_validate_range(struct intel_vgpu *vgpu, u64 addr, u32 size)return false; } -/* translate a guest gmadr to host gmadr */ -int intel_gvt_ggtt_gmadr_g2h (struct intel_vgpu *vgpu,u64 g_addr,u64 *h_addr) -{ -struct drm_i915_private *i915 = vgpu->gvt->gt->i915; - -if (drm_WARN (&i915->drm, !vgpu_gmadr_is_valid (vgpu, g_addr), -"invalid guest gmadr %llx\n" , g_addr)) -return -EACCES ; - -if (vgpu_gmadr_is_aperture (vgpu, g_addr)) - *h_addr =vgpu_aperture_gmadr_base (vgpu) - + (g_addr -vgpu_aperture_offset (vgpu)); -else - *h_addr =vgpu_hidden_gmadr_base (vgpu) - + (g_addr -vgpu_hidden_offset (vgpu)); -return 0 ; -} - -/* translate a host gmadr to guest gmadr */ -int intel_gvt_ggtt_gmadr_h2g (struct intel_vgpu *vgpu,u64 h_addr,u64 *g_addr) -{ -struct drm_i915_private *i915 = vgpu->gvt->gt->i915; - -if (drm_WARN (&i915->drm, !gvt_gmadr_is_valid (vgpu->gvt, h_addr), -"invalid host gmadr %llx\n" , h_addr)) -return -EACCES ; - -if (gvt_gmadr_is_aperture (vgpu->gvt, h_addr)) - *g_addr =vgpu_aperture_gmadr_base (vgpu) - + (h_addr -gvt_aperture_gmadr_base (vgpu->gvt)); -else - *g_addr =vgpu_hidden_gmadr_base (vgpu) - + (h_addr -gvt_hidden_gmadr_base (vgpu->gvt)); -return 0 ; -} - -int intel_gvt_ggtt_index_g2h (struct intel_vgpu *vgpu,unsigned long g_index, -unsigned long *h_index) -{ -u64 h_addr; -int ret; - - ret =intel_gvt_ggtt_gmadr_g2h (vgpu, g_index <<I915_GTT_PAGE_SHIFT , - &h_addr); -if (ret) -return ret; - - *h_index = h_addr >>I915_GTT_PAGE_SHIFT ; -return 0 ; -} - -int intel_gvt_ggtt_h2g_index (struct intel_vgpu *vgpu,unsigned long h_index, -unsigned long *g_index) -{ -u64 g_addr; -int ret; - - ret =intel_gvt_ggtt_gmadr_h2g (vgpu, h_index <<I915_GTT_PAGE_SHIFT , - &g_addr); -if (ret) -return ret; - - *g_index = g_addr >>I915_GTT_PAGE_SHIFT ; -return 0 ; -} -#define gtt_type_is_entry (type) \ (type > GTT_TYPE_INVALID && type < GTT_TYPE_PPGTT_ENTRY \ && type != GTT_TYPE_PPGTT_PTE_ENTRY \
drivers/gpu/drm/i915/gvt/gvt.h +0 -6
@@ -531,12 +531,6 @@ int intel_gvt_set_edid(struct intel_vgpu *vgpu, int port_num); gvt_gmadr_is_hidden(gvt, gmadr))bool intel_gvt_ggtt_validate_range (struct intel_vgpu *vgpu,u64 addr,u32 size); -int intel_gvt_ggtt_gmadr_g2h (struct intel_vgpu *vgpu,u64 g_addr,u64 *h_addr); -int intel_gvt_ggtt_gmadr_h2g (struct intel_vgpu *vgpu,u64 h_addr,u64 *g_addr); -int intel_gvt_ggtt_index_g2h (struct intel_vgpu *vgpu,unsigned long g_index, -unsigned long *h_index); -int intel_gvt_ggtt_h2g_index (struct intel_vgpu *vgpu,unsigned long h_index, -unsigned long *g_index);void intel_vgpu_init_cfg_space (struct intel_vgpu *vgpu,bool primary);
Signature · 1 line
2.47.1
PATCH 2/3 drm/i915/gvt: Remove unused intel_vgpu_decode_sprite_plane
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
intel_vgpu_decode_sprite_plane() was added in 2017 by commit 9f31d1063b43 ("drm/i915/gvt: Add framebuffer decoder support") but has remained unused.
Remove it.
--- drivers/gpu/drm/i915/gvt/fb_decoder.c | 117 -------------------------- drivers/gpu/drm/i915/gvt/fb_decoder.h | 2 - 2 files changed, 119 deletions(-)
drivers/gpu/drm/i915/gvt/fb_decoder.c +0 -117
@@ -395,120 +395,3 @@ int intel_vgpu_decode_cursor_plane(struct intel_vgpu *vgpu, plane->y_hot =vgpu_vreg_t (vgpu,vgtif_reg (cursor_y_hot));return 0 ; } - -#define SPRITE_FORMAT_NUM (1 << 3) - -static const struct pixel_format sprite_pixel_formats[SPRITE_FORMAT_NUM ] = { - [0x0 ] = {DRM_FORMAT_YUV422 ,16 ,"YUV 16-bit 4:2:2 packed" }, - [0x1 ] = {DRM_FORMAT_XRGB2101010 ,32 ,"RGB 32-bit 2:10:10:10" }, - [0x2 ] = {DRM_FORMAT_XRGB8888 ,32 ,"RGB 32-bit 8:8:8:8" }, - [0x4 ] = {DRM_FORMAT_AYUV ,32 , -"YUV 32-bit 4:4:4 packed (8:8:8:8 MSB-X:Y:U:V)" }, -}; - -/** -* intel_vgpu_decode_sprite_plane - Decode sprite plane -* @vgpu: input vgpu -* @plane: sprite plane to save decoded info -* This function is called for decoding plane -* -* Returns: -* 0 on success, non-zero if failed. -*/ -int intel_vgpu_decode_sprite_plane (struct intel_vgpu *vgpu, -struct intel_vgpu_sprite_plane_format *plane) -{ -u32 val, fmt; -u32 color_order, yuv_order; -int drm_format; -int pipe; - - pipe =get_active_pipe (vgpu); -if (pipe >=I915_MAX_PIPES ) -return -ENODEV ; - - val =vgpu_vreg_t (vgpu,SPRCTL (pipe)); - plane->enabled = !!(val &SPRITE_ENABLE ); -if (!plane->enabled) -return -ENODEV ; - - plane->tiled = !!(val &SPRITE_TILED ); - color_order = !!(val &SPRITE_RGB_ORDER_RGBX ); - yuv_order = (val &SPRITE_YUV_ORDER_MASK ) >> - _SPRITE_YUV_ORDER_SHIFT; - - fmt = (val &SPRITE_FORMAT_MASK ) >> _SPRITE_FMT_SHIFT; -if (!sprite_pixel_formats[fmt].bpp) { -gvt_vgpu_err ("Non-supported pixel format (0x%x)\n" , fmt); -return -EINVAL ; - } - plane->hw_format = fmt; - plane->bpp = sprite_pixel_formats[fmt].bpp; - drm_format = sprite_pixel_formats[fmt].drm_format; - -/* Order of RGB values in an RGBxxx buffer may be ordered RGB or -* BGR depending on the state of the color_order field -*/ -if (!color_order) { -if (drm_format ==DRM_FORMAT_XRGB2101010 ) - drm_format =DRM_FORMAT_XBGR2101010 ; -else if (drm_format ==DRM_FORMAT_XRGB8888 ) - drm_format =DRM_FORMAT_XBGR8888 ; - } - -if (drm_format ==DRM_FORMAT_YUV422 ) { -switch (yuv_order) { -case 0 : - drm_format =DRM_FORMAT_YUYV ; -break ; -case 1 : - drm_format =DRM_FORMAT_UYVY ; -break ; -case 2 : - drm_format =DRM_FORMAT_YVYU ; -break ; -case 3 : - drm_format =DRM_FORMAT_VYUY ; -break ; -default : -/* yuv_order has only 2 bits */ -break ; - } - } - - plane->drm_format = drm_format; - - plane->base =vgpu_vreg_t (vgpu,SPRSURF (pipe)) &I915_GTT_PAGE_MASK ; -if (!vgpu_gmadr_is_valid (vgpu, plane->base)) -return -EINVAL ; - - plane->base_gpa =intel_vgpu_gma_to_gpa (vgpu->gtt.ggtt_mm, plane->base); -if (plane->base_gpa ==INTEL_GVT_INVALID_ADDR ) { -gvt_vgpu_err ("Translate sprite plane gma 0x%x to gpa fail\n" , - plane->base); -return -EINVAL ; - } - - plane->stride =vgpu_vreg_t (vgpu,SPRSTRIDE (pipe)) & - _SPRITE_STRIDE_MASK; - - val =vgpu_vreg_t (vgpu,SPRSIZE (pipe)); - plane->height = (val & _SPRITE_SIZE_HEIGHT_MASK) >> - _SPRITE_SIZE_HEIGHT_SHIFT; - plane->width = (val & _SPRITE_SIZE_WIDTH_MASK) >> - _SPRITE_SIZE_WIDTH_SHIFT; - plane->height +=1 ;/* raw height is one minus the real value */ - plane->width +=1 ;/* raw width is one minus the real value */ - - val =vgpu_vreg_t (vgpu,SPRPOS (pipe)); - plane->x_pos = (val & _SPRITE_POS_X_MASK) >> _SPRITE_POS_X_SHIFT; - plane->y_pos = (val & _SPRITE_POS_Y_MASK) >> _SPRITE_POS_Y_SHIFT; - - val =vgpu_vreg_t (vgpu,SPROFFSET (pipe)); - plane->x_offset = (val & _SPRITE_OFFSET_START_X_MASK) >> - _SPRITE_OFFSET_START_X_SHIFT; - plane->y_offset = (val & _SPRITE_OFFSET_START_Y_MASK) >> - _SPRITE_OFFSET_START_Y_SHIFT; - -return 0 ; -}
drivers/gpu/drm/i915/gvt/fb_decoder.h +0 -2
@@ -156,7 +156,5 @@ int intel_vgpu_decode_primary_plane(struct intel_vgpu *vgpu, struct intel_vgpu_primary_plane_format *plane);int intel_vgpu_decode_cursor_plane (struct intel_vgpu *vgpu,struct intel_vgpu_cursor_plane_format *plane); -int intel_vgpu_decode_sprite_plane (struct intel_vgpu *vgpu, -struct intel_vgpu_sprite_plane_format *plane);#endif
Signature · 1 line
2.47.1
PATCH 3/3 drm/i915/gvt: Remove unused intel_gvt_in_force_nonpriv_whitelist
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The last use of intel_gvt_in_force_nonpriv_whitelist() was removed in 2020 by
commit 02dd2b12a685 ("drm/i915/gvt: unify lri cmd handler and mmio handlers")
Remove it.
--- drivers/gpu/drm/i915/gvt/handlers.c | 17 ----------------- drivers/gpu/drm/i915/gvt/mmio.h | 3 --- 2 files changed, 20 deletions(-)
drivers/gpu/drm/i915/gvt/handlers.c +0 -17
@@ -3113,23 +3113,6 @@ int intel_vgpu_mask_mmio_write(struct intel_vgpu *vgpu, unsigned int offset,return 0 ; } -/** -* intel_gvt_in_force_nonpriv_whitelist - if a mmio is in whitelist to be -* force-nopriv register -* -* @gvt: a GVT device -* @offset: register offset -* -* Returns: -* True if the register is in force-nonpriv whitelist; -* False if outside; -*/ -bool intel_gvt_in_force_nonpriv_whitelist (struct intel_gvt *gvt, -unsigned int offset) -{ -return in_whitelist (offset); -} -/** * intel_vgpu_mmio_reg_rw - emulate tracked mmio registers * @vgpu: a vGPU
drivers/gpu/drm/i915/gvt/mmio.h +0 -3
@@ -96,9 +96,6 @@ int intel_vgpu_default_mmio_read(struct intel_vgpu *vgpu, unsigned int offset,int intel_vgpu_default_mmio_write (struct intel_vgpu *vgpu,unsigned int offset,void *p_data,unsigned int bytes); -bool intel_gvt_in_force_nonpriv_whitelist (struct intel_gvt *gvt, -unsigned int offset); -int intel_vgpu_mmio_reg_rw (struct intel_vgpu *vgpu,unsigned int offset,void *pdata,unsigned int bytes,bool is_read);
Signature · 1 line
2.47.1
Note: [email protected]'s address bounces:
Quoted 3 lines
The following message to <[email protected]> was undeliverable.
The reason for the problem:
5.1.0 - Unknown address error 550-'5.1.1 <[email protected]>: Recipient address rejected: User unknown in
+virtual mailbox table'
Quoted 24 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Remove a bunch of long unused functions from
the gvt code.Signed-off-by Dr. David Alan Gilbert <[email protected]>Dr. David Alan Gilbert (3):
drm/i915/gvt: Remove intel_gvt_ggtt_h2g<->index drm/i915/gvt: Remove unusedintel_vgpu_decode_sprite_planedrm/i915/gvt: Remove unusedintel_gvt_in_force_nonpriv_whitelistdrivers/gpu/drm/i915/gvt/fb_decoder.c | 117 -------------------------- drivers/gpu/drm/i915/gvt/fb_decoder.h | 2 - drivers/gpu/drm/i915/gvt/gtt.c | 66 --------------- drivers/gpu/drm/i915/gvt/gvt.h | 6 -- drivers/gpu/drm/i915/gvt/handlers.c | 17 ---- drivers/gpu/drm/i915/gvt/mmio.h | 3 - 6 files changed, 211 deletions(-)Signature · 1 line
2.47.1
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Zhenyu Wang
reviewerQuoted 2 lines · Dr. David Alan Gilbert
Note: [email protected]'s address bounces:
yeah, I've left Intel so can't use that box any more, looks Rodrigo hasn't queue up my address change patch yet. Rodrigo?
Quoted 6 lines · Zhenyu Wang
Quoted 2 lines · Dr. David Alan Gilbert
Note: [email protected]'s address bounces:
yeah, I've left Intel so can't use that box any more, looks Rodrigo hasn't queue up my address change patch yet. Rodrigo?
pushed to drm-intel-next now, although I was assuming this to come on a gvt pull request...
what about this patch here? coming in a PR or should I take this directly at drm-intel-next as well?
Thanks,
Rodrigo.
Jani Nikula
maintainerGVT-g status (was: Re: [PATCH 0/3] drm/i915/gvt: Deadcoding)
Quoted 5 lines · Rodrigo Vivi
Quoted 4 lines · Zhenyu Wang
Quoted 2 lines · Dr. David Alan Gilbert
Note: [email protected]'s address bounces:
Quoted 8 lines
Quoted 2 lines
yeah, I've left Intel so can't use that box any more, looks Rodrigo hasn't queue up my address change patch yet. Rodrigo?
pushed to drm-intel-next now, although I was assuming this to come on a gvt pull request...
what about this patch here? coming in a PR or should I take this directly at drm-intel-next as well?
AFAICT the last gvt-next pull request was more than two years ago and gvt-fixes slightly less than one year ago.
There's a single cleanup commit in gvt-next applied two years ago for which there hasn't been a pull request.
The GVT github page [1] says, "This repository has been archived by the owner on Oct 3, 2024. It is now read-only." The intel-gvt-dev mailing list [2] appears to be mostly spam.
Seems to me something like this would be appropriate:
MAINTAINERS +2 -3
@@ -11557,11 +11557,10 @@ F: drivers/gpio/gpio-tangier.h INTEL GVT-g DRIVERS (Intel GPU Virtualization) M: Zhenyu Wang <[email protected]> M: Zhi Wang <[email protected]> -L: [email protected] L: [email protected] -S: Supported +S: Maintained W: https://github.com/intel/gvt-linux/wiki -T: git https://github.com/intel/gvt-linux.git +T: git https://gitlab.freedesktop.org/drm/i915/kernel.git F: drivers/gpu/drm/i915/gvt/ INTEL HID EVENT DRIVER
But I don't think it would be far from the truth to have "S: Odd Fixes" either. And the extreme would be to just remove the whole maintainers entry and have it fall back to the i915 entry.
Thoughts?
BR,
Jani.
[1] https://github.com/intel/gvt-linux/
[2] https://lists.freedesktop.org/archives/intel-gvt-dev/
Signature · 1 line
Jani Nikula, Intel
Re: GVT-g status (was: Re: [PATCH 0/3] drm/i915/gvt: Deadcoding)
Quoted 34 lines · Jani Nikula
Quoted 5 lines · Rodrigo Vivi
Quoted 4 lines · Zhenyu Wang
Quoted 2 lines · Dr. David Alan Gilbert
Note: [email protected]'s address bounces:
Quoted 8 lines
Quoted 2 lines
yeah, I've left Intel so can't use that box any more, looks Rodrigo hasn't queue up my address change patch yet. Rodrigo?
pushed to drm-intel-next now, although I was assuming this to come on a gvt pull request...
what about this patch here? coming in a PR or should I take this directly at drm-intel-next as well?
AFAICT the last gvt-next pull request was more than two years ago and gvt-fixes slightly less than one year ago.
There's a single cleanup commit in gvt-next applied two years ago for which there hasn't been a pull request.
The GVT github page [1] says, "This repository has been archived by the owner on Oct 3, 2024. It is now read-only." The intel-gvt-dev mailing list [2] appears to be mostly spam.
Seems to me something like this would be appropriate:
MAINTAINERS +0
-0@@ -11557,11 +11557,10 @@ F: drivers/gpio/gpio-tangier.h INTEL GVT-g DRIVERS (Intel GPU Virtualization) M: Zhenyu Wang <[email protected]>
MAINTAINERS F: drivers/gpio/gpio-tangier.h · line 11565
Quoted 10 lines
MAINTAINERS +2
-3M: Zhi Wang <[email protected]> -L: [email protected] L: [email protected] -S: Supported +S: Maintained W: https://github.com/intel/gvt-linux/wiki -T: git https://github.com/intel/gvt-linux.git +T: git https://gitlab.freedesktop.org/drm/i915/kernel.git F: drivers/gpu/drm/i915/gvt/
Looks fine with me.
Quoted 8 lines
MAINTAINERS +0
-0INTEL HID EVENT DRIVERBut I don't think it would be far from the truth to have "S: Odd Fixes" either. And the extreme would be to just remove the whole maintainers entry and have it fall back to the i915 entry.
Thoughts?
When I left Intel, I have raised similar question to manager or related people to see their ideas on how to keep GVT-g maintenance work for upstream, but I didn't get real answers before my last day at Intel...So still cc some intel gvt related people to double confirm.
For me, it's fine to remove the maintainer entry maybe only keep as reviewer?
Thanks to raise up this issue, Jani!
Zhi Wang
reviewerRe: GVT-g status (was: Re: [PATCH 0/3] drm/i915/gvt: Deadcoding)
I am fine with that as well.
Quoted 73 lines · Zhenyu Wang <[email protected]> 于 2025年1月11日周六 上午7:26写道:
Quoted 3 lines · Jani Nikula
Quoted 2 lines · Rodrigo Vivi
Quoted 1 line · Zhenyu Wang
On Sun, Dec 22, 2024 at 12:25:09AM +0000, Dr. David Alan Gilbert
Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Note: [email protected]'s address bounces:
yeah, I've left Intel so can't use that box any more, looks Rodrigo
hasn't
Quoted 27 lines
Quoted 7 lines
Quoted 1 line
queue up my address change patch yet. Rodrigo?
pushed to drm-intel-next now, although I was assuming this to come on a gvt pull request...
what about this patch here? coming in a PR or should I take this directly at drm-intel-next as well?
AFAICT the last gvt-next pull request was more than two years ago and gvt-fixes slightly less than one year ago.
There's a single cleanup commit in gvt-next applied two years ago for which there hasn't been a pull request.
The GVT github page [1] says, "This repository has been archived by the owner on Oct 3, 2024. It is now read-only." The intel-gvt-dev mailing list [2] appears to be mostly spam.
Seems to me something like this would be appropriate:
MAINTAINERS +0
-0@@ -11557,11 +11557,10 @@ F: drivers/gpio/gpio-tangier.h INTEL GVT-g DRIVERS (Intel GPU Virtualization) M: Zhenyu Wang <[email protected]>MAINTAINERS F: drivers/gpio/gpio-tangier.h · line 11565
Quoted 10 lines
MAINTAINERS +2
-3M: Zhi Wang <[email protected]> -L: [email protected] L: [email protected] -S: Supported +S: Maintained W: https://github.com/intel/gvt-linux/wiki -T: git https://github.com/intel/gvt-linux.git +T: git https://gitlab.freedesktop.org/drm/i915/kernel.git F: drivers/gpu/drm/i915/gvt/Looks fine with me.
Acked-by Zhenyu Wang <[email protected]>Quoted 8 lines
MAINTAINERS +0
-0INTEL HID EVENT DRIVERBut I don't think it would be far from the truth to have "S: Odd Fixes" either. And the extreme would be to just remove the whole maintainers entry and have it fall back to the i915 entry.
Thoughts?
When I left Intel, I have raised similar question to manager or related people to see their ideas on how to keep GVT-g maintenance work for upstream,
but I didn't get real answers before my last day at Intel...So still cc some
intel gvt related people to double confirm.For me, it's fine to remove the maintainer entry maybe only keep as reviewer?
Thanks to raise up this issue, Jani!
Re: GVT-g status (was: Re: [PATCH 0/3] drm/i915/gvt: Deadcoding)
In reply to Zhenyu WangQuoted 66 lines · On Sat, 11 Jan 2025 14:26:01 +0900 Zhenyu Wang <[email protected]> wrote:
Quoted 35 lines · Jani Nikula
Quoted 6 lines · Rodrigo Vivi
Quoted 5 lines · Zhenyu Wang
Quoted 2 lines · Dr. David Alan Gilbert
Note: [email protected]'s address bounces:
Quoted 8 lines
Quoted 2 lines
yeah, I've left Intel so can't use that box any more, looks Rodrigo hasn't queue up my address change patch yet. Rodrigo?
pushed to drm-intel-next now, although I was assuming this to come on a gvt pull request...
what about this patch here? coming in a PR or should I take this directly at drm-intel-next as well?
AFAICT the last gvt-next pull request was more than two years ago and gvt-fixes slightly less than one year ago.
There's a single cleanup commit in gvt-next applied two years ago for which there hasn't been a pull request.
The GVT github page [1] says, "This repository has been archived by the owner on Oct 3, 2024. It is now read-only." The intel-gvt-dev mailing list [2] appears to be mostly spam.
Seems to me something like this would be appropriate:
MAINTAINERS +0
-0@@ -11557,11 +11557,10 @@ F: drivers/gpio/gpio-tangier.h INTEL GVT-g DRIVERS (Intel GPU Virtualization) M: Zhenyu Wang <[email protected]>MAINTAINERS F: drivers/gpio/gpio-tangier.h · line 11565
Quoted 10 lines
MAINTAINERS +2
-3M: Zhi Wang <[email protected]> -L: [email protected] L: [email protected] -S: Supported +S: Maintained W: https://github.com/intel/gvt-linux/wiki -T: git https://github.com/intel/gvt-linux.git +T: git https://gitlab.freedesktop.org/drm/i915/kernel.git F: drivers/gpu/drm/i915/gvt/Looks fine with me.
Acked-by Zhenyu Wang <[email protected]>Quoted 8 lines
MAINTAINERS +0
-0INTEL HID EVENT DRIVERBut I don't think it would be far from the truth to have "S: Odd Fixes" either. And the extreme would be to just remove the whole maintainers entry and have it fall back to the i915 entry.
Thoughts?
When I left Intel, I have raised similar question to manager or related people to see their ideas on how to keep GVT-g maintenance work for upstream, but I didn't get real answers before my last day at Intel...So still cc some intel gvt related people to double confirm.
Quoted 5 lines
For me, it's fine to remove the maintainer entry maybe only keep as reviewer?
Thanks to raise up this issue, Jani!
Works for me as well. I am mostly doing this as a hobby on my Skylake desktop in my spare time.
Z.
Zhenyu Wang
reviewerQuoted 5 lines · Rodrigo Vivi
Quoted 4 lines · Zhenyu Wang
Quoted 2 lines · Dr. David Alan Gilbert
Note: [email protected]'s address bounces:
Quoted 9 lines
Quoted 2 lines
yeah, I've left Intel so can't use that box any more, looks Rodrigo hasn't queue up my address change patch yet. Rodrigo?
pushed to drm-intel-next now, although I was assuming this to come on a gvt pull request...
what about this patch here? coming in a PR or should I take this directly at drm-intel-next as well?
Please just include this directly. I don't really have plan to send extra PR for gvt changes but only help to review.
Thanks!
Quoted 12 lines · Zhenyu Wang
Quoted 11 lines · Rodrigo Vivi
Quoted 6 lines · Zhenyu Wang
Quoted 2 lines · Dr. David Alan Gilbert
Note: [email protected]'s address bounces:
yeah, I've left Intel so can't use that box any more, looks Rodrigo hasn't queue up my address change patch yet. Rodrigo?
pushed to drm-intel-next now, although I was assuming this to come on a gvt pull request...
Quoted 6 lines
Quoted 3 lines
what about this patch here? coming in a PR or should I take this directly at drm-intel-next as well?
Please just include this directly. I don't really have plan to send extra PR for gvt changes but only help to review.
pushed to drm-intel-next. Thanks
Quoted 2 lines
Thanks!
Quoted 5 lines · On Sun, Dec 22, 2024 at 12:20:40AM +0000, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Remove a bunch of long unused functions from
the gvt code.
Quoted 8 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>Dr. David Alan Gilbert (3):
drm/i915/gvt: Remove intel_gvt_ggtt_h2g<->index drm/i915/gvt: Remove unusedintel_vgpu_decode_sprite_planedrm/i915/gvt: Remove unusedintel_gvt_in_force_nonpriv_whitelist
All three cleanups are fine with me.
Quoted 11 lines
drivers/gpu/drm/i915/gvt/fb_decoder.c | 117 -------------------------- drivers/gpu/drm/i915/gvt/fb_decoder.h | 2 - drivers/gpu/drm/i915/gvt/gtt.c | 66 --------------- drivers/gpu/drm/i915/gvt/gvt.h | 6 -- drivers/gpu/drm/i915/gvt/handlers.c | 17 ---- drivers/gpu/drm/i915/gvt/mmio.h | 3 - 6 files changed, 211 deletions(-)Signature · 1 line
2.47.1
Patchwork
CI✗ i915.CI.BAT: failure for drm/i915/gvt: Deadcoding
In reply to [email protected]== Series Details ==
== Series Details ==
Series: drm/i915/gvt: Deadcoding
URL : https://patchwork.freedesktop.org/series/143186/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_15918 -> Patchwork_143186v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_143186v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_143186v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/index.html
Participating hosts (38 -> 36)
------------------------------
Missing (2): bat-adlp-9 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_143186v1:
### IGT changes ###
#### Possible regressions ####
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-dg2-13: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15918/bat-dg2-13/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/bat-dg2-13/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_143186v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_create@basic-files:
- fi-pnv-d510: NOTRUN -> [SKIP][3] +3 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/fi-pnv-d510/igt@[email protected]
* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: NOTRUN -> [ABORT][4] ([i915#13169])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/fi-pnv-d510/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- bat-rpls-4: [PASS][5] -> [FAIL][6] ([i915#13401])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15918/bat-rpls-4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/bat-rpls-4/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: [PASS][7] -> [SKIP][8] ([i915#9197]) +3 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15918/bat-dg2-11/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/bat-dg2-11/igt@[email protected]
#### Possible fixes ####
* igt@i915_module_load@load:
- fi-pnv-d510: [ABORT][9] ([i915#13203]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15918/fi-pnv-d510/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/fi-pnv-d510/igt@[email protected]
* igt@i915_selftest@live:
- bat-mtlp-6: [DMESG-FAIL][11] ([i915#13393]) -> [PASS][12] +1 other test pass
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15918/bat-mtlp-6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/bat-mtlp-6/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- {bat-arls-6}: [DMESG-FAIL][13] ([i915#13393]) -> [PASS][14] +1 other test pass
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15918/bat-arls-6/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/bat-arls-6/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#13169]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13169
[i915#13203]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13203
[i915#13393]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13393
[i915#13401]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13401
[i915#9197]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9197
Build changes
-------------
* Linux: CI_DRM_15918 -> Patchwork_143186v1
CI-20190529: 20190529
CI_DRM_15918: dfcd517d1169ab05be63134ba5cbc7bfaf030eb1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8179: 183b33f81365dd4a57fe3100a13d3fb13788d158 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_143186v1: dfcd517d1169ab05be63134ba5cbc7bfaf030eb1 @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_143186v1/index.html