AI Trajectory


Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/09/17 01:37 flow patch-triage
0m Args:
null

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "KMSANReasoning": "",
  "NeedsKMSAN": false,
  "Reasoning": "The patch modifies the AMDGPU Display Core (DC) driver in drivers/gpu/drm/amd/display/dc/. This code requires physical AMD GPU hardware that is not emulated in standard QEMU/GCE virtualized fuzzing environments, making it structurally unreachable for syzkaller.",
  "WorthFuzzing": false
}

1/1 2026/09/17 01:37 action read-patch-diff
0m Args:
null

Results:
{
  "PatchDiff": "commit 3a00d1f2e64a7b12fac1a4d949aaa2e9ac07d2bf\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate:   Thu Sep 17 01:37:36 2026 +0000\n\n    syz-cluster: applied patch under review\n\ndiff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h\nindex 4ecd5699ac5e0..0db55a73da0cf 100644\n--- a/drivers/gpu/drm/amd/display/dc/dc.h\n+++ b/drivers/gpu/drm/amd/display/dc/dc.h\n@@ -1912,6 +1912,7 @@ struct dc_scratch_space {\n \tstruct ddc_service *ddc;\n \n \tenum dp_panel_mode panel_mode;\n+\tbool panel_mode_initialized;\n \tbool aux_mode;\n \n \t/* Private to DC core */\ndiff --git a/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c b/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c\nindex 9883216dcc9d5..cd90576bc6f09 100644\n--- a/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c\n+++ b/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c\n@@ -93,6 +93,7 @@ void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode)\n \t}\n \n \tlink-\u003epanel_mode = panel_mode;\n+\tlink-\u003epanel_mode_initialized = true;\n \tDC_LOG_DETECTION_DP_CAPS(\"%d eDP panel mode supported: %d, enabled: %d\\n\",\n \t\t\t\t link-\u003elink_index,\n \t\t\t\t link-\u003edpcd_caps.panel_mode_edp,\n@@ -1300,7 +1301,8 @@ void edp_set_panel_assr(struct dc_link *link, struct pipe_ctx *pipe_ctx,\n \n \t\tresult = cp_psp-\u003efuncs.enable_assr(cp_psp-\u003ehandle, link);\n \n-\t\tif (!result \u0026\u0026 link-\u003epanel_mode != DP_PANEL_MODE_EDP)\n+\t\tif (!result \u0026\u0026 link-\u003epanel_mode_initialized \u0026\u0026\n+\t\t    link-\u003epanel_mode != DP_PANEL_MODE_EDP)\n \t\t\t*panel_mode = DP_PANEL_MODE_DEFAULT;\n \t}\n }\n"
}

2/1 2026/09/17 01:37 agent patch-evaluator
0m Model:
core

Args:
null

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "Reasoning": "The patch modifies the AMDGPU Display Core (DC) driver in drivers/gpu/drm/amd/display/dc/. This code requires physical AMD GPU hardware that is not emulated in standard QEMU/GCE virtualized fuzzing environments, making it structurally unreachable for syzkaller.",
  "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 3a00d1f2e64a7b12fac1a4d949aaa2e9ac07d2bf
Author: syz-cluster <triage@syzkaller.com>
Date:   Thu Sep 17 01:37:36 2026 +0000

    syz-cluster: applied patch under review

diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 4ecd5699ac5e0..0db55a73da0cf 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -1912,6 +1912,7 @@ struct dc_scratch_space {
 	struct ddc_service *ddc;
 
 	enum dp_panel_mode panel_mode;
+	bool panel_mode_initialized;
 	bool aux_mode;
 
 	/* Private to DC core */
diff --git a/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c b/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
index 9883216dcc9d5..cd90576bc6f09 100644
--- a/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
+++ b/drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
@@ -93,6 +93,7 @@ void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode)
 	}
 
 	link->panel_mode = panel_mode;
+	link->panel_mode_initialized = true;
 	DC_LOG_DETECTION_DP_CAPS("%d eDP panel mode supported: %d, enabled: %d\n",
 				 link->link_index,
 				 link->dpcd_caps.panel_mode_edp,
@@ -1300,7 +1301,8 @@ void edp_set_panel_assr(struct dc_link *link, struct pipe_ctx *pipe_ctx,
 
 		result = cp_psp->funcs.enable_assr(cp_psp->handle, link);
 
-		if (!result && link->panel_mode != DP_PANEL_MODE_EDP)
+		if (!result && link->panel_mode_initialized &&
+		    link->panel_mode != DP_PANEL_MODE_EDP)
 			*panel_mode = DP_PANEL_MODE_DEFAULT;
 	}
 }

3/2 2026/09/17 01:37 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 3283
							output: 35
							thoughts: 1058
						

Thoughts:
**Analysis of the AMDGPU Display Driver Patch**

Alright, let's break this down. First, I see a diff against the AMDGPU display driver (`dc`). Specifically, we're looking at `dc.h` and `link_edp_panel_control.c` within the driver's directory structure. The changes introduce `panel_mode_initialized` to the `dc_scratch_space` struct and initialize its value in `dp_set_panel_mode`. Further, this is used in `edp_set_panel_assr` to determine the panel mode.

Now, my initial reaction based on the path is that this is likely a dead end for fuzzing due to reachability issues. Specifically, the triage philosophy document I've been following regarding negative criteria states that vendor-specific GPU drivers, such as AMDGPU, that require physical ASIC/PCIe cards not emulated in standard QEMU should be marked as structurally unreachable. They specifically call out `amdgpu` as an example.

Given that the display core (`dc`) handles display controllers, eDP panels, and the like, this strongly suggests that it requires AMD Radeon graphics hardware. I'm reasonably confident that this isn't something that can run in a standard QEMU environment without an AMD GPU card. To be absolutely sure, I'll quickly double-check that this code doesn't have an alternate path via, say, vkms or vgem, but I'm expecting this to confirm my initial assessment. I'm going to flag this as WorthFuzzing=false.



4/2 2026/09/17 01:37 tool grepper
0m Args:
{
  "Expression": "CONFIG_DRM_AMD_DC",
  "PathPrefix": "drivers/gpu/drm/amd"
}

Results:
{
  "Output": "\nFull output is too long, showing 500 out of 1262 lines.\nUse more precise expression if possible.\n\ndrivers/gpu/drm/amd/amdgpu/Makefile=331=amdgpu-y += $(AMD_POWERPLAY_FILES)\ndrivers/gpu/drm/amd/amdgpu/Makefile-332-\ndrivers/gpu/drm/amd/amdgpu/Makefile:333:ifneq ($(CONFIG_DRM_AMD_DC),)\ndrivers/gpu/drm/amd/amdgpu/Makefile-334-\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c=1293=int amdgpu_acpi_init(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c-1298-\t\tif (adev-\u003edc_enabled) {\ndrivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:1299:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c-1300-\t\t\tstruct amdgpu_display_manager *dm = \u0026adev-\u003edm;\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c=2133=int amdgpu_debugfs_init(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c-2179-\ndrivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:2180:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c-2181-\tif (adev-\u003edc_enabled)\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_device.c=3498=bool amdgpu_device_asic_has_dc_support(struct pci_dev *pdev,\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_device.c-3507-\t\treturn false;\ndrivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3508:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/amdgpu_device.c-3509-\tcase CHIP_TAHITI:\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_device.c-3512-\tcase CHIP_OLAND:\ndrivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3513:\t\treturn amdgpu_dc != 0 \u0026\u0026 IS_ENABLED(CONFIG_DRM_AMD_DC_SI);\ndrivers/gpu/drm/amd/amdgpu/amdgpu_device.c-3514-\tdefault:\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c=2851=static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c-2919-\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:2920:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c-2921-static void amdgpu_discovery_set_sriov_display(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c=2928=static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c-2937-\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:2938:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c-2939-\tif (amdgpu_ip_version(adev, DCE_HWIP, 0)) {\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_display.c=557=uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev,\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_display.c-561-\ndrivers/gpu/drm/amd/amdgpu/amdgpu_display.c:562:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/amdgpu_display.c-563-\t/*\n--\ndrivers/gpu/drm/amd/amdgpu/amdgpu_irq.c-60-\ndrivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:61:#ifdef CONFIG_DRM_AMD_DC\ndrivers/gpu/drm/amd/amdgpu/amdgpu_irq.c-62-#include \"amdgpu_dm_irq.h\"\n--\ndrivers/gpu/drm/amd/amdgpu/cik.c=2179=int cik_set_ip_blocks(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/cik.c-2190-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/cik.c:2191:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/cik.c-2192-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/cik.c-2208-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/cik.c:2209:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/cik.c-2210-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/cik.c-2226-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/cik.c:2227:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/cik.c-2228-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/cik.c-2246-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/cik.c:2247:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/cik.c-2248-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/si.c=2681=int si_set_ip_blocks(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/si.c-2694-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/si.c:2695:#if defined(CONFIG_DRM_AMD_DC) \u0026\u0026 defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/amdgpu/si.c-2696-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/si.c-2712-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/si.c:2713:#if defined(CONFIG_DRM_AMD_DC) \u0026\u0026 defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/amdgpu/si.c-2714-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/vi.c=2042=int vi_set_ip_blocks(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/amdgpu/vi.c-2066-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/vi.c:2067:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/vi.c-2068-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/vi.c-2086-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/vi.c:2087:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/vi.c-2088-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/vi.c-2109-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/vi.c:2110:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/vi.c-2111-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/vi.c-2125-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/vi.c:2126:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/vi.c-2127-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/amdgpu/vi.c-2144-\t\t\tamdgpu_device_ip_block_add(adev, \u0026amdgpu_vkms_ip_block);\ndrivers/gpu/drm/amd/amdgpu/vi.c:2145:#if defined(CONFIG_DRM_AMD_DC)\ndrivers/gpu/drm/amd/amdgpu/vi.c-2146-\t\telse if (amdgpu_device_has_dc_support(adev))\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile-27-\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile:28:ifneq ($(CONFIG_DRM_AMD_DC),)\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile-29-AMDGPUDM = \\\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile-51-\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile:52:ifdef CONFIG_DRM_AMD_DC_FP\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile-53-AMDGPUDM += dc_fpu.o\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile=67=endif\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile-69-# KUnit tests as separate module\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile:70:ifneq ($(CONFIG_DRM_AMD_DC_KUNIT_TEST),)\ndrivers/gpu/drm/amd/display/amdgpu_dm/Makefile-71-obj-y += $(AMDDALPATH)/amdgpu_dm/tests/\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=145=STATIC_IFN_KUNIT void dm_enable_per_frame_crtc_master_sync(struct dc_state *context);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-146-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:147:#if !IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-148-static int amdgpu_dm_atomic_check(struct drm_device *dev,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=255=EXPORT_IF_KUNIT(dm_plane_layer_index_cmp);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-256-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:257:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-258-static const struct amdgpu_dm_kunit_ops *amdgpu_dm_ops;\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=323=STATIC_IFN_KUNIT int dm_early_init(struct amdgpu_ip_block *ip_block);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-324-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:325:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-326-static const struct amdgpu_dm_kunit_ops amdgpu_dm_default_ops = {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=991=STATIC_IFN_KUNIT int load_dmcu_fw(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-997-\tswitch (adev-\u003easic_type) {\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:998:#if defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-999-\tcase CHIP_TAHITI:\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=1889=static int dm_resume(struct amdgpu_ip_block *ip_block)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-2124- * DM (and consequently DC) is registered in the amdgpu base driver as a IP\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:2125: * block. When CONFIG_DRM_AMD_DC is enabled, the DM device IP block is added to\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-2126- * the base driver's device list to be initialized and torn down accordingly.\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=2379=static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-2639-\tswitch (adev-\u003easic_type) {\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:2640:#if defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-2641-\tcase CHIP_TAHITI:\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=2785=STATIC_IFN_KUNIT int dm_early_init(struct amdgpu_ip_block *ip_block)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-2800-\tswitch (adev-\u003easic_type) {\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:2801:#if defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-2802-\tcase CHIP_TAHITI:\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c=6198=STATIC_IFN_KUNIT int amdgpu_dm_atomic_check(struct drm_device *dev,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-6433-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:6434:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-6435-\tif (dc_resource_is_dsc_encoding_supported(dc)) {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-6589-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:6590:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c-6591-\t\tif (dc_resource_is_dsc_encoding_supported(dc)) {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h=1145=struct __drm_planes_state *amdgpu_dm_get_next_zpos(struct drm_atomic_commit *state,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h-1160-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:1161:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h-1162-struct amdgpu_ip_block;\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.c=324=EXPORT_IF_KUNIT(amdgpu_dm_commit_audio);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.c-325-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.c:326:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.c-327-int amdgpu_dm_audio_get_param(void)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.h=43=void amdgpu_dm_audio_eld_notify(struct amdgpu_device *adev, int pin);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.h-44-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.h:45:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_audio.h-46-struct device;\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.c-51-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.c:52:#if defined(CONFIG_ACPI) || IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.c-53-STATIC_IFN_KUNIT\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.c=712=EXPORT_IF_KUNIT(amdgpu_dm_should_create_sysfs);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.c-713-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.c:714:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.c-715-uint amdgpu_dm_get_dc_debug_mask(void)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.h=53=extern const struct attribute_group amdgpu_group;\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.h-54-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.h:55:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_backlight.h-56-void amdgpu_dm_validate_backlight_caps(struct amdgpu_display_manager *dm, int bl_idx);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.h=47=struct dc_3dlut;\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.h-48-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.h:49:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.h-50-/*\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c=70=static const struct drm_colorop_funcs dm_colorop_funcs = {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c-73-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c:74:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c-75-static struct drm_colorop *amdgpu_dm_colorop_kzalloc(void)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.h=35=int amdgpu_dm_initialize_default_pipeline(struct drm_plane *plane, struct drm_prop_enum_list *list);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.h-36-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.h:37:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.h-38-#include \u003cdrm/drm_colorop.h\u003e\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c=1142=EXPORT_IF_KUNIT(amdgpu_dm_is_freesync_video_mode);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c-1143-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c:1144:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c-1145-static void update_dsc_caps(struct amdgpu_dm_connector *aconnector,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c=1428=create_stream_for_sink(struct drm_connector *connector,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c-1449-\tenum color_transfer_func tf = TRANSFER_FUNC_UNKNOWN;\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c:1450:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c-1451-\tstruct dsc_dec_dpcd_caps dsc_caps = {0};\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c-1562-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c:1563:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c-1564-\t/* SST DSC determination policy */\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.h=146=int amdgpu_dm_encoder_init(struct drm_device *dev,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.h-149-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.h:150:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.h-151-int amdgpu_dm_i2c_xfer(struct i2c_adapter *i2c_adap,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h=147=void amdgpu_dm_crtc_secure_display_create_contexts(struct amdgpu_device *adev);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h-153-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h:154:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h-155-enum amdgpu_dm_pipe_crc_source dm_parse_crc_source(const char *source);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c=250=EXPORT_IF_KUNIT(amdgpu_dm_crtc_vblank_control_worker);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c-251-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c:252:#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY) || IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c-253-STATIC_IFN_KUNIT int amdgpu_dm_crtc_set_vline0_irq(struct drm_crtc *crtc, int irq_type,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.h=43=bool amdgpu_dm_crtc_vrr_active_irq(struct amdgpu_crtc *acrtc);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.h-44-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.h:45:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.h-46-bool amdgpu_dm_crtc_helper_mode_fixup(struct drm_crtc *crtc,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h=40=int amdgpu_dm_crtc_get_cursor_mode(struct amdgpu_device *adev,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h-44-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h:45:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h-46-int dm_check_cursor_fb(struct amdgpu_crtc *new_acrtc,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h=54=void dm_get_plane_scale(struct drm_plane_state *plane_state,\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h-55-\t\t\tint *out_plane_scale_w, int *out_plane_scale_h);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h:56:#endif /* CONFIG_DRM_AMD_DC_KUNIT_TEST */\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_cursor.h-57-\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.c=66=MODULE_FIRMWARE(FIRMWARE_DCN_60_DMUB);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.c-67-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.c:68:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.c-69-static const struct amdgpu_dm_dmub_kunit_ops amdgpu_dm_dmub_default_ops = {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.h=44=int dm_init_microcode(struct amdgpu_device *adev);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.h-68-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.h:69:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.h-70-struct dc_context;\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h=101=struct hdcp_workqueue *hdcp_create_workqueue(struct amdgpu_device *adev, struct cp_psp *cp_psp, struct dc *dc);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h-102-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h:103:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h-104-void process_output(struct hdcp_workqueue *hdcp_work);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c=1034=EXPORT_IF_KUNIT(dm_helpers_dp_write_dsc_enable);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c-1035-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c:1036:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c-1037-uint dm_helpers_get_dc_debug_mask(void)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.h-8-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.h:9:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.h-10-#include \u003cdrm/drm_edid.h\u003e\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.h=56=uint8_t write_dsc_enable_synaptics_non_virtual_dpcd_mst(struct drm_dp_aux *aux,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.h-58-\t\t\t\t\t\t\tbool enable);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.h:59:#endif /* CONFIG_DRM_AMD_DC_KUNIT_TEST */\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.h-60-\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h=123=int amdgpu_dm_register_outbox_irq_handlers(struct amdgpu_device *adev);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h-124-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h:125:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h-126-struct amdgpu_irq_src;\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.h=150=void amdgpu_dm_ism_enable(struct amdgpu_display_manager *dm);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.h-151-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.h:152:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.h-153-bool dm_ism_next_state(enum amdgpu_dm_ism_state current_state,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c=279=EXPORT_IF_KUNIT(needs_dsc_aux_workaround);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-280-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c:281:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-282-static bool is_synaptics_cascaded_panamera(struct dc_link *link, struct drm_dp_mst_port *port)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c=392=STATIC_IFN_KUNIT int dm_dp_mst_get_modes(struct drm_connector *connector)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-506-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c:507:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-508-\t\tif (!validate_dsc_caps_on_connector(aconnector))\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c=927=struct dsc_mst_fairness_params {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-939-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c:940:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-941-static uint16_t get_fec_overhead_multiplier(struct dc_link *dc_link)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c=1913=static bool is_dsc_common_config_possible(struct dc_stream_state *stream,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-1930-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c:1931:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-1932-static bool dp_get_link_current_set_bw(struct drm_dp_aux *aux, uint32_t *cur_link_bw)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c=1989=enum dc_status dm_dp_mst_is_port_support_mode(\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-1992-{\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c:1993:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c-1994-\tint branch_max_throughput_mps = 0;\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h=100=enum dc_status dm_dp_mst_is_port_support_mode(\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h-103-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h:104:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h-105-void amdgpu_dm_mst_reset_mst_connector_setting(struct amdgpu_dm_connector *aconnector);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h=68=bool amdgpu_dm_plane_is_video_format(uint32_t format);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h-69-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h:70:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h-71-void amdgpu_dm_plane_add_modifier(uint64_t **mods, uint64_t *size,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.h=16=int amdgpu_dm_smu_write_watermarks_table(struct amdgpu_device *adev);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.h-17-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.h:18:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.h-19-void build_pm_display_cfg(struct amd_pp_display_configuration *pm_display_cfg,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c=195=EXPORT_IF_KUNIT(amdgpu_dm_psr_set_event);\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c-196-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c:197:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c-198-/**\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h=41=bool amdgpu_dm_psr_set_event(struct amdgpu_display_manager *dm,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h-44-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h:45:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h-46-bool link_supports_psrsu(struct dc_link *link);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c-40-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c:41:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c-42-static const struct amdgpu_dm_services_kunit_ops amdgpu_dm_services_default_ops = {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c=40=static const u32 amdgpu_dm_wb_formats[] = {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c-43-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c:44:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c-45-static const struct amdgpu_dm_wb_kunit_ops amdgpu_dm_wb_default_ops = {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.h=38=int amdgpu_dm_wb_connector_init(struct amdgpu_display_manager *dm,\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.h-41-\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.h:42:#if IS_ENABLED(CONFIG_DRM_AMD_DC_KUNIT_TEST)\ndrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.h-43-#include \u003cdrm/drm_connector.h\u003e\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.h=33=void dc_fpu_end(const char *function_name, const int line);\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.h-37-#define DC_FP_END()\tdc_fpu_end(__func__, __LINE__)\ndrivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.h:38:#ifdef CONFIG_DRM_AMD_DC_FP\ndrivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.h-39-#define DC_RUN_WITH_PREEMPTION_ENABLED(code) \\\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.h-49-#define DC_RUN_WITH_PREEMPTION_ENABLED(code) code\ndrivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.h:50:#endif // !CONFIG_DRM_AMD_DC_FP\ndrivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.h-51-#else\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/.kunitconfig=4=CONFIG_DRM_AMDGPU=y\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/.kunitconfig:5:CONFIG_DRM_AMD_DC=y\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/.kunitconfig-6-CONFIG_DEBUG_FS=y\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/.kunitconfig:7:CONFIG_DRM_AMD_DC_KUNIT_TEST=y\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/.kunitconfig-8-CONFIG_FW_LOADER=y\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile=14=ccflags-y += -I$(src)/../../../include\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile-15-\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:16:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_kunit_helpers.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:17:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_crc_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:18:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_hdcp_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:19:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_audio_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:20:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_color_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:21:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_colorop_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:22:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_connector_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:23:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_backlight_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:24:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_dmub_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:25:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_psr_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:26:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_replay_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:27:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_ism_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:28:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_irq_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:29:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_wb_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:30:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_plane_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:31:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_mst_types_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:32:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_pp_smu_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:33:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:34:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_freesync_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:35:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_cursor_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:36:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_crtc_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:37:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_services_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:38:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_helpers_test.o\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile:39:obj-$(CONFIG_DRM_AMD_DC_KUNIT_TEST) += amdgpu_dm_quirks_test.o\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c=2047=static void dm_mst_test_sideband_msg_ready_ack_write_fails(struct kunit *test)\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c-2060-\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:2061:#if !defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c-2062-/**\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c-2065- *\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:2066: * When CONFIG_DRM_AMD_DC_FP is disabled, the public DSC validation helper\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c-2067- * has no FP body and must return DC_OK without touching its arguments.\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c=2076=static struct kunit_case dm_mst_types_test_cases[] = {\n--\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c-2154-\tKUNIT_CASE(dm_mst_test_connector_destroy_releases_sink),\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:2155:\t/* CONFIG_DRM_AMD_DC_FP disabled public paths */\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:2156:#if !defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c-2157-\tKUNIT_CASE(dm_mst_test_fp_guarded_public_stubs),\n--\ndrivers/gpu/drm/amd/display/dc/Makefile=25=DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link dsc resource optc dpp hubbub dccg hubp dio dwb hpo mmhubbub mpc opp pg\ndrivers/gpu/drm/amd/display/dc/Makefile-26-\ndrivers/gpu/drm/amd/display/dc/Makefile:27:ifdef CONFIG_DRM_AMD_DC_FP\ndrivers/gpu/drm/amd/display/dc/Makefile-28-\n--\ndrivers/gpu/drm/amd/display/dc/Makefile=48=DC_LIBS += dce80\ndrivers/gpu/drm/amd/display/dc/Makefile-49-\ndrivers/gpu/drm/amd/display/dc/Makefile:50:ifdef CONFIG_DRM_AMD_DC_SI\ndrivers/gpu/drm/amd/display/dc/Makefile-51-DC_LIBS += dce60\n--\ndrivers/gpu/drm/amd/display/dc/Makefile=54=DC_LIBS += hdcp\ndrivers/gpu/drm/amd/display/dc/Makefile-55-\ndrivers/gpu/drm/amd/display/dc/Makefile:56:ifdef CONFIG_DRM_AMD_DC_FP\ndrivers/gpu/drm/amd/display/dc/Makefile-57-DC_LIBS += sspl\n--\ndrivers/gpu/drm/amd/display/dc/bios/Makefile=32=AMD_DISPLAY_FILES += $(AMD_DAL_BIOS)\n--\ndrivers/gpu/drm/amd/display/dc/bios/Makefile-38-# DCE6.x is compiled.\ndrivers/gpu/drm/amd/display/dc/bios/Makefile:39:ifdef CONFIG_DRM_AMD_DC_SI\ndrivers/gpu/drm/amd/display/dc/bios/Makefile-40-AMD_DISPLAY_FILES += $(AMDDALPATH)/dc/bios/dce60/command_table_helper_dce60.o\n--\ndrivers/gpu/drm/amd/display/dc/bios/bios_parser2.c=2212=static enum bp_result bios_parser_get_encoder_cap_info(\n--\ndrivers/gpu/drm/amd/display/dc/bios/bios_parser2.c-2223-\ndrivers/gpu/drm/amd/display/dc/bios/bios_parser2.c:2224:#if defined(CONFIG_DRM_AMD_DC_FP)\ndrivers/gpu/drm/amd/display/dc/bios/bios_parser2.c-2225-\t/* encoder cap record not available in v1_5 */\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.c=34=bool dal_bios_parser_init_cmd_tbl_helper(\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.c-41-  switch (dce) {\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.c:42:#if defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.c-43-\tcase DCE_VERSION_6_0:\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.c-49-\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.c:50:#if defined(CONFIG_DRM_AMD_DC_DCE)\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.c-51-\tcase DCE_VERSION_8_0:\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.h-28-\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.h:29:#if defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper.h-30-#include \"dce60/command_table_helper_dce60.h\"\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c=35=bool dal_bios_parser_init_cmd_tbl_helper2(\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c-39-\tswitch (dce) {\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c:40:#if defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c-41-\tcase DCE_VERSION_6_0:\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c-47-\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c:48:#if defined(CONFIG_DRM_AMD_DC_DCE)\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c-49-\tcase DCE_VERSION_8_0:\n--\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.h-28-\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.h:29:#if defined(CONFIG_DRM_AMD_DC_SI)\ndrivers/gpu/drm/amd/display/dc/bios/command_table_helper2.h-30-#include \"dce60/command_table_helper_dce60.h\"\n--\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile=30=AMD_DISPLAY_FILES += $(AMD_DAL_CLK_MGR)\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile-31-\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile:32:ifdef CONFIG_DRM_AMD_DC_DCE\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile-33-###############################################################################\n--\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile=65=AMD_DISPLAY_FILES += $(AMD_DAL_CLK_MGR_DCE120)\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile:66:endif # CONFIG_DRM_AMD_DC_DCE\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile-67-\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile-68-# Shared clock helpers used by both the DCE and DCN clock managers. Built\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile:69:# unconditionally (not gated on CONFIG_DRM_AMD_DC_FP) so non-FP configs that\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile-70-# still build the DCE clock managers can resolve them.\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile=71=AMD_DISPLAY_FILES += $(AMDDALPATH)/dc/clk_mgr/dcn10/dcn10_clk_mgr.o\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile-72-\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile:73:ifdef CONFIG_DRM_AMD_DC_FP\ndrivers/gpu/drm/amd/display/dc/clk_mgr/Makefile-74-###############################################################################\n--\n\n"
}

5/2 2026/09/17 01:37 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 20770
							output: 46
							thoughts: 211
						

Thoughts:
**Analyzing an AMDGPU Display Core Patch**

Okay, so I've got this patch, and the first thing I do is look at the files it touches. Interesting, it's modifying `drivers/gpu/drm/amd/display/dc/dc.h` and `drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c`. Right, that places it squarely within the AMDGPU Display Core driver – DC, as they call it. And, specifically, it looks like it's dealing with the control of eDP panels, that's good to know.

Let me take a closer look at `link_edp_panel_control.c`. Ah, yes, this file is involved in handling vendor-specific PCIe switches, SmartNICs, or GPU drivers, something like `mlxsw`, `pds_core`, `qed`, `ionic`, or the `amdgpu` driver, that require direct access to ASIC or PCIe cards which aren't emulated in standard QEMU.

Now, I want to see how these functions are being used; I'm going to dig into the `link_edp_panel_control.c` code to see where `dp_set_panel_mode` and `edp_set_panel_assr` are called from. That'll give me a clearer picture of what the patch is *actually* changing and how it affects the panel control flow within this AMDGPU component.



6/2 2026/09/17 01:37 tool grepper
0m Args:
{
  "Expression": "(dp_set_panel_mode|edp_set_panel_assr)",
  "PathPrefix": "drivers/gpu/drm/amd"
}

Results:
{
  "Output": "drivers/gpu/drm/amd/display/dc/link/link_dpms.c=2386=enum dc_status link_set_dpms_off(struct pipe_ctx *pipe_ctx)\n--\ndrivers/gpu/drm/amd/display/dc/link/link_dpms.c-2469-\t}\ndrivers/gpu/drm/amd/display/dc/link/link_dpms.c:2470:\tedp_set_panel_assr(link, pipe_ctx, \u0026panel_mode_dp, false);\ndrivers/gpu/drm/amd/display/dc/link/link_dpms.c-2471-\n--\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c=1620=bool perform_link_training_with_retries(\n--\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c-1673-\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c:1674:\t\tedp_set_panel_assr(link, pipe_ctx, \u0026panel_mode, true);\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c-1675-\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c:1676:\t\tdp_set_panel_mode(link, panel_mode);\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c-1677-\n--\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c=53=static const char DP_VGA_LVDS_CONVERTER_ID_3[] = \"dnomlA\";\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c-54-\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c:55:void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode)\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c-56-{\n--\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c=1246=static void edp_set_assr_enable(const struct dc *pDC, struct dc_link *link,\n--\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c-1282-\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c:1283:void edp_set_panel_assr(struct dc_link *link, struct pipe_ctx *pipe_ctx,\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c-1284-\t\tenum dp_panel_mode *panel_mode, bool enable)\n--\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h=30=enum dp_panel_mode dp_get_panel_mode(struct dc_link *link);\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h:31:void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode);\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h-32-bool set_default_brightness_aux(struct dc_link *link);\n--\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h=77=void edp_set_panel_power(struct dc_link *link, bool powerOn);\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h:78:void edp_set_panel_assr(struct dc_link *link, struct pipe_ctx *pipe_ctx,\ndrivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h-79-\t\tenum dp_panel_mode *panel_mode, bool enable);\n"
}

7/2 2026/09/17 01:37 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 22452
							output: 53
							thoughts: 454
						

Thoughts:
**My Assessment of the AMDGPU Code and its Implications**

Okay, the calls that are in question are from `drivers/gpu/drm/amd/display/dc/link/link_dpms.c` and `drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c`. These are definitely related to AMD display link handling within the `amdgpu` driver. Now, the critical question is, does `amdgpu` *require* actual physical hardware to function?

Let me just quickly re-check the criteria, because I seem to remember that being a factor. Ah, here it is: "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." Bingo! `amdgpu` is *explicitly* listed as an example of structurally unreachable hardware! That’s pretty definitive.

Now, let's explore if any KUnit tests cover these functions or if they're relevant in this case. My understanding is that KUnit is for unit tests executed via kunit_tool or boot tests, while Syzkaller focuses on syscall fuzzing in virtualized environments like GCE or QEMU. Also, I checked the KUnit files in `drivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile` and it appears that neither `dp_set_panel_mode` nor `edp_set_panel_assr` are tested there. Even if they were, Syzkaller targets reachable kernel code via syscalls/virtual devices which are available in QEMU/GCE. And, as we established, `amdgpu` *requires* physical AMD GPU hardware. It isn't emulated in standard QEMU or GCE.

Finally, just to gain some more context, I'm going to quickly use `read-file` to check the lines around the patch changes in `drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c` just to understand what the patch does and to confirm the relevant context.



8/2 2026/09/17 01:37 tool read-file
0m Args:
{
  "File": "drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c",
  "FirstLine": 85,
  "LineCount": 25
}

Results:
{
  "Contents": "  85:\t\t\tpanel_mode_edp;\n  86:\t\t\tresult = core_link_write_dpcd(\n  87:\t\t\t\tlink,\n  88:\t\t\t\tDP_EDP_CONFIGURATION_SET,\n  89:\t\t\t\t\u0026edp_config_set.raw,\n  90:\t\t\t\tsizeof(edp_config_set.raw));\n  91:\t\n  92:\t\t\tASSERT(result == DC_OK);\n  93:\t\t}\n  94:\t\n  95:\t\tlink-\u003epanel_mode = panel_mode;\n  96:\t\tlink-\u003epanel_mode_initialized = true;\n  97:\t\tDC_LOG_DETECTION_DP_CAPS(\"%d eDP panel mode supported: %d, enabled: %d\\n\",\n  98:\t\t\t\t\t link-\u003elink_index,\n  99:\t\t\t\t\t link-\u003edpcd_caps.panel_mode_edp,\n 100:\t\t\t\t\t panel_mode_edp);\n 101:\t}\n 102:\t\n 103:\tenum dp_panel_mode dp_get_panel_mode(struct dc_link *link)\n 104:\t{\n 105:\t\tif (link-\u003eext_enc_id.id) {\n 106:\t\n 107:\t\t\tswitch (link-\u003edpcd_caps.branch_dev_id) {\n 108:\t\t\tcase DP_BRANCH_DEVICE_ID_0022B9:\n 109:\t\t\t\t/* alternate scrambler reset is required for Travis\n"
}

9/2 2026/09/17 01:37 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 23829
							output: 55
							thoughts: 44
						

Thoughts:
Here's my summary, as if I were the one thinking it:

**Digging into the EDP Panel Control**

Okay, so I need to understand this EDP panel control logic better. Let's see... the `drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c` file should be the place to go. I want to zero in on lines 1290-1315. That section probably handles a specific case, or a crucial step in the control sequence, potentially related to panel initialization, power management, or some kind of hotplug/detection procedure specific to embedded DisplayPort panels. I'm hoping to quickly identify the function call, or conditional logic, within that block, that is relevant to the issue I'm looking at. Hopefully, there is a helpful comment in there to start with. Let's get to the code.



10/2 2026/09/17 01:37 tool read-file
0m Args:
{
  "File": "drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c",
  "FirstLine": 1290,
  "LineCount": 25
}

Results:
{
  "Contents": "1290:\t\t\treturn;\n1291:\t\n1292:\t\tif (link-\u003edc-\u003econfig.use_assr_psp_message) {\n1293:\t\t\tedp_set_assr_enable(link-\u003edc, link, link_res, enable);\n1294:\t\t} else if (cp_psp \u0026\u0026 cp_psp-\u003efuncs.enable_assr \u0026\u0026 enable) {\n1295:\t\t\t/* ASSR is bound to fail with unsigned PSP\n1296:\t\t\t * verstage used during devlopment phase.\n1297:\t\t\t * Report and continue with eDP panel mode to\n1298:\t\t\t * perform eDP link training with right settings\n1299:\t\t\t */\n1300:\t\t\tbool result;\n1301:\t\n1302:\t\t\tresult = cp_psp-\u003efuncs.enable_assr(cp_psp-\u003ehandle, link);\n1303:\t\n1304:\t\t\tif (!result \u0026\u0026 link-\u003epanel_mode_initialized \u0026\u0026\n1305:\t\t\t    link-\u003epanel_mode != DP_PANEL_MODE_EDP)\n1306:\t\t\t\t*panel_mode = DP_PANEL_MODE_DEFAULT;\n1307:\t\t}\n1308:\t}\n1309:\t\n1310:\tvoid edp_set_panel_polarity_enabled(const struct dc_link *link, bool enable)\n1311:\t{\n1312:\t\tstruct dc *dc = link-\u003ectx-\u003edc;\n1313:\t\tstruct dc_dmub_srv *dc_dmub_srv = dc-\u003ectx-\u003edmub_srv;\n1314:\t\n"
}

11/2 2026/09/17 01:37 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 24543
							output: 91
							thoughts: 205
						

Thoughts:
**My Assessment of the Fuzzing Configuration**

Okay, so I've looked at this code change, and it's pretty clear where the vulnerability assessment needs to go. This modification is entirely contained within the AMDGPU display core – `drivers/gpu/drm/amd/display/dc/`, specifically. That immediately flags something based on the documentation in Section 2, where it states "Structurally unreachable hardware: … GPU drivers (e.g., amdgpu) requiring physical ASIC/PCIe cards not emulated in standard QEMU."

Given that AMDGPU is explicitly listed there as structurally unreachable hardware, it means that fuzzing this code directly within a standard QEMU environment is a no-go. The hardware dependencies are just too restrictive. Therefore, my evaluation is that `WorthFuzzing` has to be `false` in this case.

That also means `FocusSymbols` will be an empty set, because we cannot feasibly isolate specific functions for testing without the right hardware. Similarly, `EnableConfigs` should be empty, null, or an empty list - whatever represents the absence of specific configuration, since standard fuzzing wouldn't be effective. The reasoning is straightforward: the patch touches the AMDGPU Display Core driver (`drivers/gpu/drm/amd/display/dc/`), which fundamentally needs vendor-specific AMD GPU hardware that's not emulated, and therefore not available, in typical QEMU-based fuzzing set-ups. I'm confident in calling `set-results` now, that's my conclusion.



12/2 2026/09/17 01:38 tool set-results
0m Args:
{
  "EnableConfigs": [],
  "FocusSymbols": [],
  "Reasoning": "The patch modifies the AMDGPU Display Core (DC) driver in drivers/gpu/drm/amd/display/dc/. This code requires physical AMD GPU hardware that is not emulated in standard QEMU/GCE virtualized fuzzing environments, making it structurally unreachable for syzkaller.",
  "WorthFuzzing": false
}

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "Reasoning": "The patch modifies the AMDGPU Display Core (DC) driver in drivers/gpu/drm/amd/display/dc/. This code requires physical AMD GPU hardware that is not emulated in standard QEMU/GCE virtualized fuzzing environments, making it structurally unreachable for syzkaller.",
  "WorthFuzzing": false
}

13/1 2026/09/17 01:38 action If
0m Args:
{
  "WorthFuzzing": false
}

Results:
null

LLM Calls Summary:
Total Calls Total Tokens Avg Tokens Total Duration (Seconds) Avg Duration (Seconds)
Tool Calls Summary:
Total Calls Total Duration (Seconds) Avg Duration (Seconds)