linux/drivers/gpu/drm/i915
Suraj Kandpal 5d41eeb672 drm/i915/hdcp: Use correct cp_irq_count
We are checking cp_irq_count from the wrong hdcp structure which
ends up giving timed out errors. We only increment the cp_irq_count
of the primary connector's hdcp structure but here in case of
multidisplay setup we end up checking the secondary connector's hdcp
structure, which will not have its cp_irq_count incremented. This leads
to a timed out at CP_IRQ error even though a CP_IRQ was raised. Extract
it from the correct intel_hdcp structure.

--v2
-Explain why it was the wrong hdcp structure [Jani]

Fixes: 8c9e4f68b8 ("drm/i915/hdcp: Use per-device debugs")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809114127.3940699-2-suraj.kandpal@intel.com
(cherry picked from commit dd92590263)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2024-08-19 06:40:57 +03:00
..
display drm/i915/hdcp: Use correct cp_irq_count 2024-08-19 06:40:57 +03:00
gem drm/i915: Attempt to get pages without eviction first 2024-08-07 11:02:38 +03:00
gt drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8 2024-07-23 09:34:09 +00:00
gvt Merge tag 'drm-intel-next-2024-06-19' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2024-06-21 13:11:24 +10:00
pxp drm: move i915_pxp_tee_interface.h under include/drm/intel 2024-05-31 16:11:25 +03:00
selftests Merge drm/drm-next into drm-intel-gt-next 2024-05-16 07:33:01 +00:00
soc drm/i915: move comments about FSB straps to proper place 2024-06-17 11:54:31 +03:00
.gitignore
i915_active_types.h
i915_active.c drm/i915: Fix premature release of request's reusable memory 2023-08-01 10:56:34 +01:00
i915_active.h
i915_cmd_parser.c drm/i915: Use kmap_local_page() in i915_cmd_parser.c 2023-12-15 09:34:30 +00:00
i915_cmd_parser.h
i915_config.c
i915_config.h
i915_debugfs_params.c drm/i915: fix build with missing debugfs includes 2024-04-26 13:54:37 +10:00
i915_debugfs_params.h
i915_debugfs.c drm/i915: fix build with missing debugfs includes 2024-04-26 13:54:37 +10:00
i915_debugfs.h
i915_deps.c
i915_deps.h
i915_driver.c drm/i915: Pass intel_display to the encoder suspend/shutdown helpers 2024-06-20 19:47:54 +03:00
i915_driver.h drm/i915: Update DRIVER_DATE to 20230929 2023-09-29 12:43:23 +03:00
i915_drm_client.c drm/i915: Update shared stats to use the new gem helper 2024-02-16 12:52:50 +01:00
i915_drm_client.h drm/i915: remove i915_drm_client::id 2024-02-19 15:35:23 -05:00
i915_drv.h Merge tag 'drm-intel-gt-next-2024-06-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2024-06-27 17:21:44 +10:00
i915_file_private.h
i915_gem_evict.c
i915_gem_evict.h
i915_gem_gtt.c
i915_gem_gtt.h
i915_gem_ww.c
i915_gem_ww.h
i915_gem.c Merge tag 'drm-intel-gt-next-2024-02-15' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2024-02-16 11:19:15 +10:00
i915_gem.h
i915_getparam.c Merge tag 'drm-intel-gt-next-2024-04-26' of https://anongit.freedesktop.org/git/drm/drm-intel into drm-next 2024-04-30 14:40:43 +10:00
i915_getparam.h
i915_gpu_error.c drm/i915/overlay: convert intel_overlay_print_error_state() to drm_printer 2024-06-07 10:06:26 +03:00
i915_gpu_error.h Merge tag 'drm-intel-gt-next-2023-12-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-12-13 11:20:49 +10:00
i915_hwmon.c UAPI Changes: 2024-04-24 10:51:29 +10:00
i915_hwmon.h
i915_ioc32.c
i915_ioc32.h
i915_ioctl.c
i915_ioctl.h
i915_iosf_mbi.h
i915_irq.c drm/i915: pass dev_priv explicitly to PORT_HOTPLUG_STAT 2024-06-07 11:13:17 +03:00
i915_irq.h
i915_memcpy.c drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c 2024-03-28 10:42:46 -04:00
i915_memcpy.h
i915_mitigations.c
i915_mitigations.h
i915_mm.c
i915_mm.h
i915_module.c
i915_params.c drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
i915_params.h drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
i915_pci.c Merge tag 'drm-intel-gt-next-2024-06-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2024-06-27 17:21:44 +10:00
i915_pci.h
i915_perf_oa_regs.h
i915_perf_types.h drm/i915: remove i915_perf_stream::size_exponent 2024-02-19 15:35:30 -05:00
i915_perf.c i915/perf: Remove code to update PWR_CLK_STATE for gen12 2024-07-29 15:14:21 +03:00
i915_perf.h
i915_pmu.c drm/i915: Track gt pm wakerefs 2023-11-20 12:36:56 +01:00
i915_pmu.h
i915_priolist_types.h
i915_pvinfo.h
i915_query.c drm/i915: Update IP_VER(12, 50) 2024-03-22 14:14:52 -07:00
i915_query.h
i915_reg_defs.h
i915_reg.h drm/i915: Enable plane/pipeDMC ATS fault interrupts on mtl 2024-06-19 20:06:12 +03:00
i915_request.c drm/i915: remove execute_cb::signal 2024-02-19 15:36:28 -05:00
i915_request.h
i915_scatterlist.c drm/i915/gem: Suppress oom warning in favour of ENOMEM to userspace 2024-06-28 00:11:01 +02:00
i915_scatterlist.h drm/i915: Implement for_each_sgt_daddr_next 2023-09-30 13:49:22 +02:00
i915_scheduler_types.h
i915_scheduler.c
i915_scheduler.h
i915_selftest.h
i915_suspend.c drm/i915: pass dev_priv explicitly to SWF3 2024-06-07 11:28:55 +03:00
i915_suspend.h
i915_sw_fence_work.c
i915_sw_fence_work.h
i915_sw_fence.c
i915_sw_fence.h
i915_switcheroo.c
i915_switcheroo.h
i915_syncmap.c drm/i915: Add flex arrays to struct i915_syncmap 2024-02-12 11:59:37 +00:00
i915_syncmap.h
i915_sysfs.c drm/i915: move gpu error sysfs to i915_gpu_error.c 2023-11-02 14:12:45 +02:00
i915_sysfs.h
i915_tasklet.h
i915_trace_points.c
i915_trace.h drm/i915: use direct alias for i915 in requests 2023-07-24 17:24:35 +02:00
i915_ttm_buddy_manager.c drm/buddy: Implement tracking clear page feature 2024-04-22 19:44:16 +02:00
i915_ttm_buddy_manager.h
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access 2024-02-07 01:58:54 +02:00
i915_utils.h drm/i915: use check_add_overflow() and drop local variants 2024-04-09 11:49:32 +03:00
i915_vgpu.c
i915_vgpu.h
i915_vma_resource.c drm/i915/vma: constify unbind_fence_ops 2023-08-25 09:02:55 +03:00
i915_vma_resource.h
i915_vma_types.h drm/i915: remove i915_vma::obj_hash 2024-02-19 15:36:34 -05:00
i915_vma.c drm/i915/vma: Fix UAF on destroy against retire race 2024-03-28 12:16:16 -04:00
i915_vma.h drm/i915/fbc: Moved fence related code away from intel_fbc 2023-08-07 08:28:28 +03:00
intel_clock_gating.c drm/i915: reduce includes in intel_clock_gating.c 2024-05-31 15:51:26 +03:00
intel_clock_gating.h
intel_device_info.c drm: move i915_pciids.h under include/drm/intel 2024-05-31 16:11:29 +03:00
intel_device_info.h drm/i915: Drop dead code for pvc 2024-03-22 14:14:56 -07:00
intel_gvt_mmio_table.c drm/i915: pass dev_priv explicitly to PIPE_LINK_N2 2024-06-07 11:29:02 +03:00
intel_gvt.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
intel_gvt.h
intel_mchbar_regs.h
intel_memory_region.c drm/i915: Allow NULL memory region 2024-07-23 09:34:13 +00:00
intel_memory_region.h Merge drm/drm-next into drm-intel-gt-next 2024-05-16 07:33:01 +00:00
intel_pci_config.h drm: move i915_drm.h under include/drm/intel 2024-05-31 16:11:09 +03:00
intel_pcode.c
intel_pcode.h
intel_region_ttm.c drm/i915: Use struct resource for memory region IO as well 2024-02-07 01:58:40 +02:00
intel_region_ttm.h
intel_runtime_pm.c drm/i915: Convert intel_runtime_pm_get_noresume towards raw wakeref 2024-04-19 11:27:14 +03:00
intel_runtime_pm.h Merge tag 'drm-intel-gt-next-2023-12-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-12-13 11:20:49 +10:00
intel_sbi.c
intel_sbi.h
intel_step.c drm/i915: Drop dead code for pvc 2024-03-22 14:14:56 -07:00
intel_step.h drm/i915: Add wrapper for getting display step 2023-10-11 15:19:48 +05:30
intel_uncore.c drm/i915: Increase FLR timeout from 3s to 9s 2024-06-06 02:20:35 +02:00
intel_uncore.h drm/i915/uncore: add intel_uncore_regs() helper 2023-07-04 17:12:48 +03:00
intel_wakeref.c drm/i915: Track gt pm wakerefs 2023-11-20 12:36:56 +01:00
intel_wakeref.h drm/i915: Track gt pm wakerefs 2023-11-20 12:36:56 +01:00
Kconfig Merge drm/drm-next into drm-intel-next 2024-06-19 11:38:31 +03:00
Kconfig.debug drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
Kconfig.profile
Makefile Merge drm/drm-next into drm-intel-next 2024-06-19 11:38:31 +03:00
TODO.txt
vlv_sideband_reg.h
vlv_sideband.c drm/i915/dpio: Derive the phy from the port rather than pipe in encoder hooks 2024-04-30 21:12:12 +03:00
vlv_sideband.h drm/i915/iosf: Drop unused APIs 2023-11-22 19:13:02 +02:00
vlv_suspend.c
vlv_suspend.h