linux-stable/drivers/gpu/drm/xe/compat-i915-headers
Lucas De Marchi 981460d8ee drm/xe/display: Avoid calling readq()
readq() is not available in 32bits and i915_gem_object_read_from_page()
is supposed to allow reading arbitrary sizes determined by the `size`
argument. Currently the only caller only passes a size == 8 so the
second problem is not that big. Migrate to calling
memcpy()/memcpy_fromio() to allow possible changes in the display side
and to fix the build on 32b architectures.

v2: Use memcpy/memcpy_fromio directly rather than using iosys-map with
    the same size == 8 bytes restriction (Matt Roper)

Fixes: 44e694958b ("drm/xe/display: Implement display support")
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240119001612.2991381-4-lucas.demarchi@intel.com
(cherry picked from commit 406663f777)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
2024-01-24 11:13:25 +01:00
..
gem
gt
pxp
soc
i915_active.h
i915_active_types.h
i915_config.h
i915_debugfs.h
i915_drv.h
i915_fixed.h
i915_gem.h
i915_gem_stolen.h
i915_gpu_error.h
i915_irq.h
i915_reg.h
i915_reg_defs.h
i915_trace.h
i915_utils.h
i915_vgpu.h
i915_vma.h
i915_vma_types.h
intel_clock_gating.h
intel_gt_types.h
intel_mchbar_regs.h
intel_pci_config.h
intel_pcode.h
intel_runtime_pm.h
intel_step.h
intel_uc_fw.h
intel_uncore.h
intel_wakeref.h
vlv_sideband.h
vlv_sideband_reg.h