mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
Store tiling function pointer in struct intel_panic instead of struct intel_framebuffer, and store struct intel_panic pointer instead of struct intel_framebuffer pointer in struct drm_scanout_buffer private member. To make this happen, pass the tiling function pointer to panic setup hook, and initialize sb->private in the hook for clarity. This allows us to drop the dependency on struct intel_framebuffer from i915 and xe panic code. Note: It would be less verbose to have a typedef for the tiling function pointer. However, there isn't a nice location for it that wouldn't also increase header interdependencies. Cc: Jocelyn Falempe <jfalempe@redhat.com> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patch.msgid.link/d97abae79db3437c617cd4cb6193ba017b3a8d78.1780394867.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com> |
||
|---|---|---|
| .. | ||
| display_member.h | ||
| display_parent_interface.h | ||
| i915_component.h | ||
| i915_drm.h | ||
| i915_gsc_proxy_mei_interface.h | ||
| i915_hdcp_interface.h | ||
| i915_pxp_tee_interface.h | ||
| intel_gmd_interrupt_regs.h | ||
| intel_gmd_misc_regs.h | ||
| intel_lb_mei_interface.h | ||
| intel_lpe_audio.h | ||
| intel_pcode_regs.h | ||
| intel-gtt.h | ||
| mchbar_regs.h | ||
| pci_config.h | ||
| pciids.h | ||
| pick.h | ||
| reg_bits.h | ||
| step.h | ||
| vlv_iosf_sb_regs.h | ||
| xe_sriov_vfio.h | ||