| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/10/30 01:56 | flow | patch-triage |
0mArgs:null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"KMSANReasoning": "",
"NeedsKMSAN": false,
"Reasoning": "The patch modifies Intel i915 display engine code (intel_ddi, intel_display, intel_dp_aux, intel_dpll_mgr, intel_pps, intel_tc) to support eDP on Type-C ports. This code requires physical Intel integrated/discrete GPU hardware (specifically platforms supporting Type-C/TC PHYs such as Xe_LPD/Meteor Lake) which is not emulated in standard QEMU or GCE virtual environments. As a result, the modified driver paths are structurally unreachable in syzkaller fuzzing environments.",
"WorthFuzzing": false
} |
| 1/1 | 2026/10/30 01:56 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit d36c8d711164039249b88dd374e41dd07624f922\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Fri Oct 30 01:56:55 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c\nindex a46ab5d3d70fc7..5950246e45a064 100644\n--- a/drivers/gpu/drm/i915/display/intel_ddi.c\n+++ b/drivers/gpu/drm/i915/display/intel_ddi.c\n@@ -4723,10 +4723,10 @@ static void intel_ddi_encoder_reset(struct drm_encoder *encoder)\n \tintel_dp-\u003ereset_link_params = true;\n \tintel_dp_invalidate_source_oui(intel_dp);\n \n-\tintel_pps_encoder_reset(intel_dp);\n-\n \tif (intel_encoder_is_tc(\u0026dig_port-\u003ebase))\n \t\tintel_tc_port_init_mode(dig_port);\n+\n+\tintel_pps_encoder_reset(intel_dp);\n }\n \n static int intel_ddi_encoder_late_register(struct drm_encoder *_encoder)\n@@ -5053,6 +5053,8 @@ static enum hpd_pin xelpd_hpd_pin(struct intel_display *display, enum port port)\n \t\treturn HPD_PORT_D + port - PORT_D_XELPD;\n \telse if (port \u003e= PORT_TC1)\n \t\treturn HPD_PORT_TC1 + port - PORT_TC1;\n+\telse if (intel_phy_is_tc(display, intel_port_to_phy(display, port)))\n+\t\treturn HPD_PORT_TC1 + intel_port_to_tc(display, port) - TC_PORT_1;\n \telse\n \t\treturn HPD_PORT_A + port - PORT_A;\n }\ndiff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c\nindex d5d4453f283bb0..b021d8a568a41e 100644\n--- a/drivers/gpu/drm/i915/display/intel_display.c\n+++ b/drivers/gpu/drm/i915/display/intel_display.c\n@@ -1897,6 +1897,11 @@ bool intel_phy_is_combo(struct intel_display *display, enum phy phy)\n \t\treturn false;\n }\n \n+static bool intel_phy_is_edp_on_tc(struct intel_display *display, enum phy phy)\n+{\n+\treturn DISPLAY_RUNTIME_INFO(display)-\u003eedp_typec_support \u0026\u0026 phy == PHY_B;\n+}\n+\n /*\n * This function returns true if the DDI port respective to the PHY enumeration\n * is a Type-C capable port.\n@@ -1917,6 +1922,9 @@ bool intel_phy_is_tc(struct intel_display *display, enum phy phy)\n \tif (display-\u003eplatform.dgfx)\n \t\treturn false;\n \n+\tif (intel_phy_is_edp_on_tc(display, phy))\n+\t\treturn true;\n+\n \tif (DISPLAY_VER(display) \u003e= 13)\n \t\treturn phy \u003e= PHY_F \u0026\u0026 phy \u003c= PHY_I;\n \telse if (display-\u003eplatform.tigerlake)\n@@ -1967,6 +1975,9 @@ enum phy intel_port_to_phy(struct intel_display *display, enum port port)\n */\n enum tc_port intel_port_to_tc(struct intel_display *display, enum port port)\n {\n+\tif (intel_phy_is_edp_on_tc(display, intel_port_to_phy(display, port)))\n+\t\treturn TC_PORT_1;\n+\n \tif (DISPLAY_VER(display) \u003e= 12)\n \t\treturn TC_PORT_1 + port - PORT_TC1;\n \telse\ndiff --git a/drivers/gpu/drm/i915/display/intel_dp_aux.c b/drivers/gpu/drm/i915/display/intel_dp_aux.c\nindex 3cb07b0a901cff..36800cf19c50ab 100644\n--- a/drivers/gpu/drm/i915/display/intel_dp_aux.c\n+++ b/drivers/gpu/drm/i915/display/intel_dp_aux.c\n@@ -270,22 +270,6 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,\n \tfor (i = 0; i \u003c ARRAY_SIZE(ch_data); i++)\n \t\tch_data[i] = intel_dp-\u003eaux_ch_data_reg(intel_dp, i);\n \n-\tintel_digital_port_lock(encoder);\n-\t/*\n-\t * Abort transfers on a disconnected port as required by\n-\t * DP 1.4a link CTS 4.2.1.5, also avoiding the long AUX\n-\t * timeouts that would otherwise happen.\n-\t */\n-\tif (!intel_dp_is_edp(intel_dp) \u0026\u0026\n-\t !intel_digital_port_connected_locked(\u0026dig_port-\u003ebase)) {\n-\t\tret = -ENXIO;\n-\t\tgoto out_unlock;\n-\t}\n-\n-\taux_domain = intel_aux_power_domain(dig_port);\n-\n-\taux_wakeref = intel_display_power_get(display, aux_domain);\n-\n \t/*\n \t * The PPS state needs to be locked for:\n \t * - eDP on all platforms, since AUX transfers on eDP need VDD power\n@@ -308,6 +292,21 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,\n \t */\n \tvdd = intel_pps_vdd_on_unlocked(intel_dp);\n \n+\tintel_digital_port_lock(encoder);\n+\t/*\n+\t * Abort transfers on a disconnected port as required by\n+\t * DP 1.4a link CTS 4.2.1.5, also avoiding the long AUX\n+\t * timeouts that would otherwise happen.\n+\t */\n+\tif (!intel_dp_is_edp(intel_dp) \u0026\u0026\n+\t !intel_digital_port_connected_locked(\u0026dig_port-\u003ebase)) {\n+\t\tret = -ENXIO;\n+\t\tgoto out_unlock;\n+\t}\n+\n+\taux_domain = intel_aux_power_domain(dig_port);\n+\taux_wakeref = intel_display_power_get(display, aux_domain);\n+\n \t/*\n \t * dp aux is extremely sensitive to irq latency, hence request the\n \t * lowest possible wakeup latency and so prevent the cpu from going into\n@@ -453,16 +452,16 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,\n out:\n \tcpu_latency_qos_update_request(\u0026intel_dp-\u003epm_qos, PM_QOS_DEFAULT_VALUE);\n \n+\tintel_display_power_put_async(display, aux_domain, aux_wakeref);\n+out_unlock:\n+\tintel_digital_port_unlock(encoder);\n+\n \tif (vdd)\n \t\tintel_pps_vdd_off_unlocked(intel_dp, false);\n \n \tif (pps_wakeref)\n \t\tintel_pps_unlock(intel_dp, pps_wakeref);\n \n-\tintel_display_power_put_async(display, aux_domain, aux_wakeref);\n-out_unlock:\n-\tintel_digital_port_unlock(encoder);\n-\n \treturn ret;\n }\n \ndiff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c\nindex bfd6f0a1972534..563db12cf2ef37 100644\n--- a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c\n+++ b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c\n@@ -207,7 +207,7 @@ enum intel_dpll_id icl_tc_port_to_pll_id(enum tc_port tc_port)\n \n enum intel_dpll_id mtl_port_to_pll_id(struct intel_display *display, enum port port)\n {\n-\tif (port \u003e= PORT_TC1)\n+\tif (intel_phy_is_tc(display, intel_port_to_phy(display, port)))\n \t\treturn icl_tc_port_to_pll_id(intel_port_to_tc(display, port));\n \n \tswitch (port) {\ndiff --git a/drivers/gpu/drm/i915/display/intel_pps.c b/drivers/gpu/drm/i915/display/intel_pps.c\nindex d4c98b150fa2b7..8f1bfe43409719 100644\n--- a/drivers/gpu/drm/i915/display/intel_pps.c\n+++ b/drivers/gpu/drm/i915/display/intel_pps.c\n@@ -23,6 +23,7 @@\n #include \"intel_pps.h\"\n #include \"intel_pps_regs.h\"\n #include \"intel_quirks.h\"\n+#include \"intel_tc.h\"\n \n static void vlv_steal_power_sequencer(struct intel_display *display,\n \t\t\t\t enum pipe pipe);\n@@ -758,6 +759,9 @@ bool intel_pps_vdd_on_unlocked(struct intel_dp *intel_dp)\n \tif (edp_have_panel_vdd(intel_dp))\n \t\treturn need_to_disable;\n \n+\tif (intel_encoder_is_tc(\u0026dig_port-\u003ebase))\n+\t\tintel_tc_port_get_link(dig_port, 1);\n+\n \tdrm_WARN_ON(display-\u003edrm, intel_dp-\u003epps.vdd_wakeref);\n \tintel_dp-\u003epps.vdd_wakeref = intel_display_power_get(display,\n \t\t\t\t\t\t\t intel_aux_power_domain(dig_port));\n@@ -864,6 +868,9 @@ static void intel_pps_vdd_off_sync_unlocked(struct intel_dp *intel_dp)\n \tintel_display_power_put(display,\n \t\t\t\tintel_aux_power_domain(dig_port),\n \t\t\t\tfetch_and_zero(\u0026intel_dp-\u003epps.vdd_wakeref));\n+\n+\tif (intel_encoder_is_tc(\u0026dig_port-\u003ebase))\n+\t\tintel_tc_port_put_link(dig_port);\n }\n \n void intel_pps_vdd_off_sync(struct intel_dp *intel_dp)\n@@ -1066,6 +1073,9 @@ void intel_pps_off_unlocked(struct intel_dp *intel_dp)\n \tintel_display_power_put(display,\n \t\t\t\tintel_aux_power_domain(dig_port),\n \t\t\t\tfetch_and_zero(\u0026intel_dp-\u003epps.vdd_wakeref));\n+\n+\tif (intel_encoder_is_tc(\u0026dig_port-\u003ebase))\n+\t\tintel_tc_port_put_link(dig_port);\n }\n \n void intel_pps_off(struct intel_dp *intel_dp)\n@@ -1334,6 +1344,10 @@ static void pps_vdd_init(struct intel_dp *intel_dp)\n \t\t \"[ENCODER:%d:%s] %s VDD left on by BIOS, adjusting state tracking\\n\",\n \t\t dig_port-\u003ebase.base.base.id, dig_port-\u003ebase.base.name,\n \t\t pps_name(intel_dp));\n+\n+\tif (intel_encoder_is_tc(\u0026dig_port-\u003ebase))\n+\t\tintel_tc_port_get_link(dig_port, 1);\n+\n \tdrm_WARN_ON(display-\u003edrm, intel_dp-\u003epps.vdd_wakeref);\n \tintel_dp-\u003epps.vdd_wakeref = intel_display_power_get(display,\n \t\t\t\t\t\t\t intel_aux_power_domain(dig_port));\ndiff --git a/drivers/gpu/drm/i915/display/intel_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c\nindex f2d86b29c4154d..f878494bcb3880 100644\n--- a/drivers/gpu/drm/i915/display/intel_tc.c\n+++ b/drivers/gpu/drm/i915/display/intel_tc.c\n@@ -1669,7 +1669,7 @@ void intel_tc_port_sanitize_mode(struct intel_digital_port *dig_port,\n \n \tmutex_lock(\u0026tc-\u003elock);\n \n-\tdrm_WARN_ON(display-\u003edrm, tc-\u003elink_refcount != 1);\n+\tdrm_WARN_ON(display-\u003edrm, tc-\u003elink_refcount \u003c 1);\n \tif (!tc_port_has_active_streams(tc, crtc_state)) {\n \t\t/*\n \t\t * TBT-alt is the default mode in any case the PHY ownership is not\n@@ -1683,7 +1683,12 @@ void intel_tc_port_sanitize_mode(struct intel_digital_port *dig_port,\n \t\t\t\t \"Port %s: PHY left in %s mode on disabled port, disconnecting it\\n\",\n \t\t\t\t tc-\u003eport_name,\n \t\t\t\t tc_port_mode_name(tc-\u003einit_mode));\n-\t\ttc_phy_disconnect(tc);\n+\t\t/*\n+\t\t * A link reference taken during a preceding (eDP) connector initialization will be\n+\t\t * dropped later, also disconnecting the PHY.\n+\t\t */\n+\t\tif (tc-\u003elink_refcount == 1)\n+\t\t\ttc_phy_disconnect(tc);\n \t\t__intel_tc_port_put_link(tc);\n \t}\n \n"
} |
| 2/1 | 2026/10/30 01:56 | agent | patch-evaluator |
0mModel:core Args: null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies Intel i915 display engine code (intel_ddi, intel_display, intel_dp_aux, intel_dpll_mgr, intel_pps, intel_tc) to support eDP on Type-C ports. This code requires physical Intel integrated/discrete GPU hardware (specifically platforms supporting Type-C/TC PHYs such as Xe_LPD/Meteor Lake) which is not emulated in standard QEMU or GCE virtual environments. As a result, the modified driver paths are structurally unreachable in syzkaller fuzzing environments.",
"WorthFuzzing": false
}Instruction: You are an expert Linux kernel maintainer and security engineer.
Your job is to review a provided patch series and evaluate whether it warrants fuzzing with syzkaller.
IMPORTANT: The changes have ALREADY been applied and committed as the HEAD commit in
your workspace. Do NOT rely on internal assumptions. You must actively use your code access
tools to inspect the actual source code, callers, and surrounding context.
================================================================================
1. CORE TRIAGE PHILOSOPHY
================================================================================
The goal of patch fuzzing is to discover crashes, regressions, exposed latent bugs,
and newly triggered assertions introduced by the patch series.
- REACHABILITY IS THE PRIMARY GATE:
Fuzzing can only discover bugs in code that can actually execute in standard virtualized
environments (GCE or QEMU, utilizing software-emulated devices like USB gadgets, netdev, tun/tap).
If the modified code is structurally unreachable (see Section 2), it MUST NOT be fuzzed,
regardless of whether it adds assertions or complex logic.
- DO NOT BLINDLY TRUST "NO FUNCTIONAL CHANGE" (NFCI) OR "REFACTORING" CLAIMS:
Patch authors routinely label changes as "cleanups", "refactorings", or state
"No functional change intended". Do NOT take these claims at face value.
Code refactorings that rearrange logic, introduce helper functions, or alter state management
in core subsystems frequently introduce subtle semantic shifts or uncover latent kernel bugs.
If reachable executable code is modified or refactored, it MUST be fuzzed.
- NEW OR MODIFIED ASSERTIONS IN REACHABLE CODE MUST BE FUZZED:
When a patch introduces or modifies runtime checks or assertions (e.g., WARN_ON*, VM_WARN_ON*,
BUG_ON*, lockdep_assert*) in reachable code paths, it enforces new or stricter invariants.
Even if the author believes the invariant always holds, fuzzing is essential to verify whether
an unusual sequence of operations can violate it.
================================================================================
2. WHEN TO RETURN WorthFuzzing=false (NEGATIVE CRITERIA)
================================================================================
Return WorthFuzzing=false ONLY IF all modified code falls strictly into one or more of these categories:
- Non-kernel and non-executable changes:
* Modifications to Documentation/, comments, or spelling fixes.
* User-space directories, self-tests, samples, or scripts (e.g., tools/, samples/, scripts/, usr/)
that do not affect the compiled kernel image (vmlinux) or kernel modules.
* Purely decorative logging (e.g., message strings in pr_err, printk, dev_info) or tracepoints
that do not alter control flow or data structures.
* Build system or Kconfig changes that do not alter compiled C logic.
- Structurally unreachable hardware:
* Vendor-specific PCIe switches, SmartNICs, or GPU drivers (e.g., mlxsw, pds_core, qed,
ionic, amdgpu) requiring physical ASIC/PCIe cards not emulated in standard QEMU.
- Unreachable execution paths:
* Driver teardown callbacks (.remove, .shutdown, pci_unregister_driver) executed only during
physical PCI hot-unplug or manual sysfs driver unbinding.
* Code paths exclusive to architectures other than the target architecture.
================================================================================
3. WHEN TO RETURN WorthFuzzing=true (POSITIVE CRITERIA)
================================================================================
Return WorthFuzzing=true whenever the patch touches reachable executable code, including:
- Core Subsystems:
* Any logic modifications in memory management (mm/), synchronization/locking (kernel/locking/),
BPF, scheduler, core networking, VFS, or syscall handling.
- Refactorings and Code Cleanups:
* Any restructuring of reachable data structures, helper abstractions, or algorithm flows.
- Runtime Assertions and Defensive Checks:
* Any introduction or alteration of assertions (WARN_ON*, VM_WARN_ON*, BUG_ON*, etc.) in reachable paths.
- Reachable Drivers and Protocols:
* Drivers accessible via virtual buses (virtio, USB gadget, loopback, netlink, binder, sockets, etc.).
================================================================================
4. EXTRACTING FocusSymbols (PREVENTING DILUTION)
================================================================================
When WorthFuzzing=true, you must extract specific kernel functions into FocusSymbols to guide the fuzzer:
- AVOID UBIQUITOUS LIFECYCLE HOT-PATHS:
Do NOT list generic, ubiquitous functions called by almost every program in the corpus
(including, but not limited to: general memory allocators and deallocators, page fault
and trap handlers, or core synchronization primitives; this is not an exhaustive list).
Listing ubiquitous functions causes the fuzzer to classify thousands of unrelated tests as "focused",
which severely dilutes fuzzing effort away from the actual changes.
- TARGET SPECIFIC FEATURE LOGIC AND ENTRYPOINTS:
List functions that specifically implement the logic being added or altered, or direct API entrypoints
for the subsystem feature under review.
- HANDLING STATIC INLINE FUNCTIONS IN HEADERS (.h):
Compiler-inlined static functions (such as static inlines in mm/*.h or include/linux/*.h) lack
distinct symbol addresses in vmlinux and cannot be targeted directly by symbol coverage filters.
If the changes are primarily in static inline helpers, identify non-static, feature-specific caller
functions in .c files that exercise them (avoiding ubiquitous lifecycle wrappers).
================================================================================
5. IDENTIFYING EnableConfigs
================================================================================
Identify any specific CONFIG_ options required to properly compile and reach the modified code:
- Inspect Kconfig files and #ifdef guards; do not make assumptions.
- Check "depends on" lines in Kconfig to include any non-standard parent subsystem configs needed.
- Strip any 'CONFIG_' prefix (e.g., return "NET_IPV4" instead of "CONFIG_NET_IPV4").
Prefer calling several tools at the same time to save round-trips.
Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.
Prompt: Target architecture: amd64
For your convenience, here is the diff of the changes:
commit d36c8d711164039249b88dd374e41dd07624f922
Author: syz-cluster <triage@syzkaller.com>
Date: Fri Oct 30 01:56:55 2026 +0000
syz-cluster: applied patch under review
diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index a46ab5d3d70fc7..5950246e45a064 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -4723,10 +4723,10 @@ static void intel_ddi_encoder_reset(struct drm_encoder *encoder)
intel_dp->reset_link_params = true;
intel_dp_invalidate_source_oui(intel_dp);
- intel_pps_encoder_reset(intel_dp);
-
if (intel_encoder_is_tc(&dig_port->base))
intel_tc_port_init_mode(dig_port);
+
+ intel_pps_encoder_reset(intel_dp);
}
static int intel_ddi_encoder_late_register(struct drm_encoder *_encoder)
@@ -5053,6 +5053,8 @@ static enum hpd_pin xelpd_hpd_pin(struct intel_display *display, enum port port)
return HPD_PORT_D + port - PORT_D_XELPD;
else if (port >= PORT_TC1)
return HPD_PORT_TC1 + port - PORT_TC1;
+ else if (intel_phy_is_tc(display, intel_port_to_phy(display, port)))
+ return HPD_PORT_TC1 + intel_port_to_tc(display, port) - TC_PORT_1;
else
return HPD_PORT_A + port - PORT_A;
}
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index d5d4453f283bb0..b021d8a568a41e 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -1897,6 +1897,11 @@ bool intel_phy_is_combo(struct intel_display *display, enum phy phy)
return false;
}
+static bool intel_phy_is_edp_on_tc(struct intel_display *display, enum phy phy)
+{
+ return DISPLAY_RUNTIME_INFO(display)->edp_typec_support && phy == PHY_B;
+}
+
/*
* This function returns true if the DDI port respective to the PHY enumeration
* is a Type-C capable port.
@@ -1917,6 +1922,9 @@ bool intel_phy_is_tc(struct intel_display *display, enum phy phy)
if (display->platform.dgfx)
return false;
+ if (intel_phy_is_edp_on_tc(display, phy))
+ return true;
+
if (DISPLAY_VER(display) >= 13)
return phy >= PHY_F && phy <= PHY_I;
else if (display->platform.tigerlake)
@@ -1967,6 +1975,9 @@ enum phy intel_port_to_phy(struct intel_display *display, enum port port)
*/
enum tc_port intel_port_to_tc(struct intel_display *display, enum port port)
{
+ if (intel_phy_is_edp_on_tc(display, intel_port_to_phy(display, port)))
+ return TC_PORT_1;
+
if (DISPLAY_VER(display) >= 12)
return TC_PORT_1 + port - PORT_TC1;
else
diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux.c b/drivers/gpu/drm/i915/display/intel_dp_aux.c
index 3cb07b0a901cff..36800cf19c50ab 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_aux.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_aux.c
@@ -270,22 +270,6 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
for (i = 0; i < ARRAY_SIZE(ch_data); i++)
ch_data[i] = intel_dp->aux_ch_data_reg(intel_dp, i);
- intel_digital_port_lock(encoder);
- /*
- * Abort transfers on a disconnected port as required by
- * DP 1.4a link CTS 4.2.1.5, also avoiding the long AUX
- * timeouts that would otherwise happen.
- */
- if (!intel_dp_is_edp(intel_dp) &&
- !intel_digital_port_connected_locked(&dig_port->base)) {
- ret = -ENXIO;
- goto out_unlock;
- }
-
- aux_domain = intel_aux_power_domain(dig_port);
-
- aux_wakeref = intel_display_power_get(display, aux_domain);
-
/*
* The PPS state needs to be locked for:
* - eDP on all platforms, since AUX transfers on eDP need VDD power
@@ -308,6 +292,21 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
*/
vdd = intel_pps_vdd_on_unlocked(intel_dp);
+ intel_digital_port_lock(encoder);
+ /*
+ * Abort transfers on a disconnected port as required by
+ * DP 1.4a link CTS 4.2.1.5, also avoiding the long AUX
+ * timeouts that would otherwise happen.
+ */
+ if (!intel_dp_is_edp(intel_dp) &&
+ !intel_digital_port_connected_locked(&dig_port->base)) {
+ ret = -ENXIO;
+ goto out_unlock;
+ }
+
+ aux_domain = intel_aux_power_domain(dig_port);
+ aux_wakeref = intel_display_power_get(display, aux_domain);
+
/*
* dp aux is extremely sensitive to irq latency, hence request the
* lowest possible wakeup latency and so prevent the cpu from going into
@@ -453,16 +452,16 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
out:
cpu_latency_qos_update_request(&intel_dp->pm_qos, PM_QOS_DEFAULT_VALUE);
+ intel_display_power_put_async(display, aux_domain, aux_wakeref);
+out_unlock:
+ intel_digital_port_unlock(encoder);
+
if (vdd)
intel_pps_vdd_off_unlocked(intel_dp, false);
if (pps_wakeref)
intel_pps_unlock(intel_dp, pps_wakeref);
- intel_display_power_put_async(display, aux_domain, aux_wakeref);
-out_unlock:
- intel_digital_port_unlock(encoder);
-
return ret;
}
diff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
index bfd6f0a1972534..563db12cf2ef37 100644
--- a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
+++ b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
@@ -207,7 +207,7 @@ enum intel_dpll_id icl_tc_port_to_pll_id(enum tc_port tc_port)
enum intel_dpll_id mtl_port_to_pll_id(struct intel_display *display, enum port port)
{
- if (port >= PORT_TC1)
+ if (intel_phy_is_tc(display, intel_port_to_phy(display, port)))
return icl_tc_port_to_pll_id(intel_port_to_tc(display, port));
switch (port) {
diff --git a/drivers/gpu/drm/i915/display/intel_pps.c b/drivers/gpu/drm/i915/display/intel_pps.c
index d4c98b150fa2b7..8f1bfe43409719 100644
--- a/drivers/gpu/drm/i915/display/intel_pps.c
+++ b/drivers/gpu/drm/i915/display/intel_pps.c
@@ -23,6 +23,7 @@
#include "intel_pps.h"
#include "intel_pps_regs.h"
#include "intel_quirks.h"
+#include "intel_tc.h"
static void vlv_steal_power_sequencer(struct intel_display *display,
enum pipe pipe);
@@ -758,6 +759,9 @@ bool intel_pps_vdd_on_unlocked(struct intel_dp *intel_dp)
if (edp_have_panel_vdd(intel_dp))
return need_to_disable;
+ if (intel_encoder_is_tc(&dig_port->base))
+ intel_tc_port_get_link(dig_port, 1);
+
drm_WARN_ON(display->drm, intel_dp->pps.vdd_wakeref);
intel_dp->pps.vdd_wakeref = intel_display_power_get(display,
intel_aux_power_domain(dig_port));
@@ -864,6 +868,9 @@ static void intel_pps_vdd_off_sync_unlocked(struct intel_dp *intel_dp)
intel_display_power_put(display,
intel_aux_power_domain(dig_port),
fetch_and_zero(&intel_dp->pps.vdd_wakeref));
+
+ if (intel_encoder_is_tc(&dig_port->base))
+ intel_tc_port_put_link(dig_port);
}
void intel_pps_vdd_off_sync(struct intel_dp *intel_dp)
@@ -1066,6 +1073,9 @@ void intel_pps_off_unlocked(struct intel_dp *intel_dp)
intel_display_power_put(display,
intel_aux_power_domain(dig_port),
fetch_and_zero(&intel_dp->pps.vdd_wakeref));
+
+ if (intel_encoder_is_tc(&dig_port->base))
+ intel_tc_port_put_link(dig_port);
}
void intel_pps_off(struct intel_dp *intel_dp)
@@ -1334,6 +1344,10 @@ static void pps_vdd_init(struct intel_dp *intel_dp)
"[ENCODER:%d:%s] %s VDD left on by BIOS, adjusting state tracking\n",
dig_port->base.base.base.id, dig_port->base.base.name,
pps_name(intel_dp));
+
+ if (intel_encoder_is_tc(&dig_port->base))
+ intel_tc_port_get_link(dig_port, 1);
+
drm_WARN_ON(display->drm, intel_dp->pps.vdd_wakeref);
intel_dp->pps.vdd_wakeref = intel_display_power_get(display,
intel_aux_power_domain(dig_port));
diff --git a/drivers/gpu/drm/i915/display/intel_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c
index f2d86b29c4154d..f878494bcb3880 100644
--- a/drivers/gpu/drm/i915/display/intel_tc.c
+++ b/drivers/gpu/drm/i915/display/intel_tc.c
@@ -1669,7 +1669,7 @@ void intel_tc_port_sanitize_mode(struct intel_digital_port *dig_port,
mutex_lock(&tc->lock);
- drm_WARN_ON(display->drm, tc->link_refcount != 1);
+ drm_WARN_ON(display->drm, tc->link_refcount < 1);
if (!tc_port_has_active_streams(tc, crtc_state)) {
/*
* TBT-alt is the default mode in any case the PHY ownership is not
@@ -1683,7 +1683,12 @@ void intel_tc_port_sanitize_mode(struct intel_digital_port *dig_port,
"Port %s: PHY left in %s mode on disabled port, disconnecting it\n",
tc->port_name,
tc_port_mode_name(tc->init_mode));
- tc_phy_disconnect(tc);
+ /*
+ * A link reference taken during a preceding (eDP) connector initialization will be
+ * dropped later, also disconnecting the PHY.
+ */
+ if (tc->link_refcount == 1)
+ tc_phy_disconnect(tc);
__intel_tc_port_put_link(tc);
}
|
| 3/2 | 2026/10/30 01:56 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 6400 output: 44 thoughts: 1185 Thoughts: **WorthFuzzing Decision for i915 Display Driver Changes** Okay, I see the patch touches files in `drivers/gpu/drm/i915/display/`: `intel_ddi.c`, `intel_display.c`, `intel_dp_aux.c`, `intel_dpll_mgr.c`, `intel_pps.c`, and `intel_tc.c`. My initial reaction is to apply the triage rules. Let's see... the core triage philosophy states to only return `WorthFuzzing=false` if *all* modified code falls into negative criteria. Specifically, I need to check if these changes are related to "Structurally unreachable hardware: Vendor-specific PCIe switches, SmartNICs, or GPU drivers... requiring physical ASIC/PCIe cards not emulated in standard QEMU". Aha! Now I remember the core question: does i915 run in standard QEMU or GCE? Can QEMU emulate the integrated graphics display hardware of something like Meteor Lake or Xe LPD? My instinct is no; QEMU typically offers virtualized graphics through virtio-gpu, bochs-display, cirrus, stdvga, qxl, or vmware-svga. I don't recall QEMU directly emulating Intel i915 / Iris / UHD graphics ASICs. I need to be sure... I need to investigate if there are any mock tests or virtualization methods using vgem or vkms that would allow i915 to be fuzzed. I'm thinking about syzkaller's coverage, does syzkaller actually fuzz DRM/i915? I'll check my references. I need to look at syzbot instances and see if they even include i915. Does syzbot fuzz i915 in GCE or QEMU environments? Back to the triage instructions: "REACHABILITY IS THE PRIMARY GATE... If the modified code is structurally unreachable, it MUST NOT be fuzzed." The instructions *explicitly* list "GPU drivers" as an example of "structurally unreachable hardware". The prompt says, "GPU drivers (e.g., mlxsw, pds_core, qed, ionic, amdgpu) requiring physical ASIC/PCIe cards not emulated in standard QEMU". Is i915 one of those vendor-specific GPU drivers? Can i915 be probed or loaded in QEMU *without* physical Intel GPU hardware? No, standard QEMU doesn't emulate Intel Gen/Xe GPUs. PCI passthrough is an option, but that's not what we're talking about here. Is there even a dummy/mock device created at boot? I need to know if i915 is purely a PCI driver. I'll use grepper to search for `module_pci_driver` or similar in i915 to confirm. Therefore, because i915 is a GPU driver and the changes appear to require hardware not emulated in standard QEMU or GCE environments, and without proof of a suitable mock or virtualization strategy, I'm going to lean towards marking this as `WorthFuzzing=false`. I need to be sure though; I have to check on the syzkaller side and see if they're even configured with the driver. I need more information to confirm this decision, but I'm leaning heavily towards it. |
| 4/2 | 2026/10/30 01:57 | tool | grepper |
0mArgs:{
"Expression": "module_pci_driver|pci_register_driver",
"PathPrefixes": [
"drivers/gpu/drm/i915"
]
}Results: {
"Output": "drivers/gpu/drm/i915/i915_module.c=53=static const struct {\n--\ndrivers/gpu/drm/i915/i915_module.c-74-\t{ .init = i915_mock_selftests },\ndrivers/gpu/drm/i915/i915_module.c:75:\t{ .init = i915_pci_register_driver,\ndrivers/gpu/drm/i915/i915_module.c-76-\t .exit = i915_pci_unregister_driver },\n--\ndrivers/gpu/drm/i915/i915_pci.c=1030=static struct pci_driver i915_pci_driver = {\n--\ndrivers/gpu/drm/i915/i915_pci.c-1038-\ndrivers/gpu/drm/i915/i915_pci.c:1039:int i915_pci_register_driver(void)\ndrivers/gpu/drm/i915/i915_pci.c-1040-{\ndrivers/gpu/drm/i915/i915_pci.c:1041:\treturn pci_register_driver(\u0026i915_pci_driver);\ndrivers/gpu/drm/i915/i915_pci.c-1042-}\n--\ndrivers/gpu/drm/i915/i915_pci.h=11=struct pci_dev;\ndrivers/gpu/drm/i915/i915_pci.h-12-\ndrivers/gpu/drm/i915/i915_pci.h:13:int i915_pci_register_driver(void);\ndrivers/gpu/drm/i915/i915_pci.h-14-void i915_pci_unregister_driver(void);\n"
} |
| 5/2 | 2026/10/30 01:57 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 8881 output: 150 thoughts: 1127 Thoughts: **Analysis of the i915 Display Driver Changes for Fuzzing Eligibility** Okay, let's break this down. The `i915_pci_driver` binds to Intel PCI graphics devices, and this patch series is definitely modifying code in the display subsystem. Specifically, it's touching `intel_ddi.c`, `intel_display.c`, `intel_dp_aux.c`, `intel_dpll_mgr.c`, `intel_pps.c`, and `intel_tc.c` - all nestled within the `drivers/gpu/drm/i915/display/` directory. That immediately sets off a flag. The code changes are clearly focused on eDP over Type-C (TC) port handling, plus some Direct Programming Auxiliary (DP AUX) transfers, Panel Power Sequencing (PPS) routines, and DPLL configurations. This points directly at modern Intel hardware, likely Meteor Lake (MTL) or later, which utilizes Type-C PHYs. Now, considering the environment where fuzzing would occur... standard QEMU and GCE virtual machines. These environments *do not* provide physical Intel GPUs. We're dealing with virtual display adapters, not the actual Intel silicon this code is designed to interface with. This is a critical point. The instruction's negative criteria explicitly mentions "GPU drivers requiring physical ASIC/PCIe cards not emulated in standard QEMU." The i915 driver *is* a classic vendor-specific GPU driver, and the modified code is intricately linked to hardware initialization and power sequencing aspects of Intel's display hardware. Therefore, the code paths within the changes are structurally unreachable in this testing context, which is to say, they are inaccessible unless tested on hardware. Given that all the modified files are in the display subsystem and that `i915` *requires* physical Intel GPU hardware that isn't present in the target virtual environment, I'm confident we can categorize this as "Structurally unreachable hardware". Therefore, I'm setting: * **WorthFuzzing**: `false` * **FocusSymbols**: `[]` * **EnableConfigs**: `[]` * **Reasoning**: "The modified code resides within the Intel i915 display driver (drivers/gpu/drm/i915/display/) and specifically addresses eDP over Type-C (TC) port handling, DP AUX transfers, PPS (Panel Power Sequencing), and DPLL configuration. The i915 driver necessitates physical Intel integrated or discrete GPU hardware, which is not emulated in standard virtualized test environments such as QEMU or GCE. Consequently, the modified code paths are structurally unreachable." Let's call `set-results` with these values. |
| 6/2 | 2026/10/30 01:57 | tool | set-results |
0mArgs:{
"EnableConfigs": [],
"FocusSymbols": [],
"Reasoning": "The patch modifies Intel i915 display engine code (intel_ddi, intel_display, intel_dp_aux, intel_dpll_mgr, intel_pps, intel_tc) to support eDP on Type-C ports. This code requires physical Intel integrated/discrete GPU hardware (specifically platforms supporting Type-C/TC PHYs such as Xe_LPD/Meteor Lake) which is not emulated in standard QEMU or GCE virtual environments. As a result, the modified driver paths are structurally unreachable in syzkaller fuzzing environments.",
"WorthFuzzing": false
}Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch modifies Intel i915 display engine code (intel_ddi, intel_display, intel_dp_aux, intel_dpll_mgr, intel_pps, intel_tc) to support eDP on Type-C ports. This code requires physical Intel integrated/discrete GPU hardware (specifically platforms supporting Type-C/TC PHYs such as Xe_LPD/Meteor Lake) which is not emulated in standard QEMU or GCE virtual environments. As a result, the modified driver paths are structurally unreachable in syzkaller fuzzing environments.",
"WorthFuzzing": false
} |
| 7/1 | 2026/10/30 01:57 | action | If |
0mArgs:{
"WorthFuzzing": false
}Results: null |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|