diff options
| author | Lucas De Marchi <[email protected]> | 2025-06-27 20:30:34 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-06-28 13:56:58 +0000 |
| commit | 05f3af5905d5dbb758db9dae0a103b22b441ad67 (patch) | |
| tree | 058e756d893873494b14da993284c7cb40324895 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/i915/flipq: Add intel_flipq_dump() (diff) | |
| download | kernel-05f3af5905d5dbb758db9dae0a103b22b441ad67.tar.gz kernel-05f3af5905d5dbb758db9dae0a103b22b441ad67.zip | |
drm/xe: Fix conflicting intel_pcode_* symbols
If CONFIG_DRM_XE_DISPLAY is set, the xe module can only be built as
module to avoid duplicate symbols from i915. The interface for pcode was
added without considering that, so the build breaks if both xe and i915
are built-in.
Since the intel_pcode_* functions should only be called from the display
side (xe side should call the xe interface directly) and there's already
a protection in Kconfig to avoid the problematic configuration, ifdef it
out in case CONFIG_DRM_XE_DISPLAY is disabled.
Closes: https://lore.kernel.org/r/[email protected]
Fixes: d9465cc8ac2d ("drm/xe/pcode: add struct drm_device based interface")
Acked-by: Jani Nikula <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
