mirror_ubuntu-kernels/drivers/gpu/drm/i915/gvt
Yan Zhao 46d14e1709 drm/i915/gvt: Fix bug in getting msg length in AUX CH registers handler
Msg length should be obtained from value written to AUX_CH_CTL register
rather than from enum type of the register.

Commit 0cad796a22  ("drm/i915: Use REG_BIT() & co. for AUX CH registers")
incorrectly calculates the msg_length from reg type and yields below
warning in intel_gvt_i2c_handle_aux_ch_write():
"i915 0000:00:02.0: drm_WARN_ON(msg_length != 4)".

Fixes: 0cad796a22 ("drm/i915: Use REG_BIT() & co. for AUX CH registers")
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20230731112033.7275-1-yan.y.zhao@intel.com
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2023-08-01 11:21:09 +08:00
..
aperture_gm.c drm/i915/gvt: fix intel_vgpu_alloc_resource() kernel-doc parameter 2023-05-04 12:11:18 +03:00
cfg_space.c Merge tag 'gvt-next-2022-11-17' of https://github.com/intel/gvt-linux into drm-intel-next 2022-11-17 08:46:48 -05:00
cmd_parser.c drm/i915/gvt: remove unused variable gma_bottom in command parser 2023-06-08 11:27:25 +03:00
cmd_parser.h
debug.h
debugfs.c drm/i915/gvt: Avoid full proxy f_ops for debugfs attributes 2023-02-23 13:26:59 +08:00
display.c drm/i915: s/PIPECONF/TRANSCONF/ 2023-02-17 23:25:15 +02:00
display.h
dmabuf.c Linux 6.2-rc6 2023-01-31 12:23:23 +01:00
dmabuf.h drm/i915: gvt: fix kernel-doc trivial warnings 2022-11-17 14:07:09 +08:00
edid.c drm/i915/gvt: Fix bug in getting msg length in AUX CH registers handler 2023-08-01 11:21:09 +08:00
edid.h
execlist.c drm/i915/gvt: devirtualize ->{read,write}_gpa 2022-04-21 07:36:56 -04:00
execlist.h
fb_decoder.c drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
fb_decoder.h drm/i915/display: add intel_display_limits.h for key enums 2023-01-25 13:59:12 +02:00
firmware.c drm-next-fixes for 6.3-rc1 2023-03-02 15:08:54 -08:00
gtt.c drm/i915/gvt: fix double free bug in split_2MB_gtt_entry 2023-01-04 23:21:19 +08:00
gtt.h
gvt.h drm/i915/gvt: use atomic operations to change the vGPU status 2023-01-04 23:21:19 +08:00
handlers.c drm/i915: Rename skl+ scaler binding bits 2023-05-04 16:00:33 +03:00
interrupt.c drm/i915/gvt: use atomic operations to change the vGPU status 2023-01-04 23:21:19 +08:00
interrupt.h drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
kvmgt.c i915: fix memory leak with using debugfs_lookup() 2023-02-23 13:42:13 +08:00
Makefile drm/i915/gvt: merge gvt.c into kvmgvt.c 2022-04-21 07:36:56 -04:00
mmio_context.c Merge drm/drm-next into drm-intel-next 2022-11-14 14:32:34 -05:00
mmio_context.h drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
mmio.c drm/i915/dpio: move dpio_channel and dpio_phy enums to intel_dpio_phy.h 2022-11-03 16:20:53 +02:00
mmio.h i915/gvt: Separate the MMIO tracking table from GVT-g 2022-04-21 07:36:54 -04:00
opregion.c drm/i915/gvt: devirtualize ->{read,write}_gpa 2022-04-21 07:36:56 -04:00
page_track.c drm/i915: gvt: fix kernel-doc trivial warnings 2022-11-17 14:07:09 +08:00
page_track.h
reg.h i915/gvt: Separate the MMIO tracking table from GVT-g 2022-04-21 07:36:54 -04:00
sched_policy.c
sched_policy.h
scheduler.c drm/i915/gvt: use atomic operations to change the vGPU status 2023-01-04 23:21:19 +08:00
scheduler.h
trace_points.c
trace.h drm/i915/gvt: fix trace TRACE_INCLUDE_PATH 2022-04-21 07:36:56 -04:00
vgpu.c drm/i915/gvt: Remove extra semicolon 2023-02-23 13:27:29 +08:00