e> Hosts the 0x221E linux distro kernel. https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y 2025-06-23T18:45:17Z drm/xe/compat: remove old pcode compat interface 2025-06-23T18:45:17Z Jani Nikula jani.nikula@intel.com 2025-06-23T11:43:49Z urn:sha1:54fd8f38d804fa1353cf3c12113f0a98a4d41adf With display code using the struct drm_device based pcode interface, we can drop the old pcode compat interface. We can also drop the __compat_uncore_to_tile() helper from intel_uncore.h compat header. Turns out a couple of headers depended on the intel_uncore.h include via intel_pcode.h. Fix them. Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://lore.kernel.org/r/948016a031dcb2acef0c97071aac09fa49613e07.1750678991.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com> drm/i915: add out_value to intel_wait_for_register_fw() and intel_de_wait_fw() 2025-06-04T13:28:35Z Jani Nikula jani.nikula@intel.com 2025-05-27T10:59:11Z urn:sha1:ac3bff5d63a502380370cd894d837187b1c120a0 Future users of intel_de_wait_fw() need the final value. Just return it for everyone using intel_wait_for_register_fw() and intel_de_wait_fw() to avoid adding or using another set of specialized functions. There aren't that many users for these anyway. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/f804b2fe85ad63389e74d82e4c97220e9275f170.1748343520.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com> drm/xe/compat: refactor compat i915_drv.h 2025-03-07T09:36:07Z Jani Nikula jani.nikula@intel.com 2025-03-05T16:38:22Z urn:sha1:2fff55d499eea7c61a2671c5d7394e9c62995d9f The compat i915_drv.h contains things that aren't there in the original i915_drv.h. Split out gem/i915_gem_object.h and i915_scheduler_types.h, moving the corresponding pieces out, including FORCEWAKE_ALL to intel_uncore.h. Technically I915_PRIORITY_DISPLAY should be in i915_priolist_types.h, but it's a bit overkill to split out another file just for that. i915_scheduler_types.h shall do. With this, the compat i915_drv.h becomes a strict subset of the original. Reviewed-by: Nemesa Garg <nemesa.garg@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/d6bd95bf52aa37f48ddec3e675b7a3cc66829eef.1741192597.git.jani.nikula@intel.com [Jani: fix i915_gem_object.h header guard while applying] Signed-off-by: Jani Nikula <jani.nikula@intel.com> drm/i915/uncore: add to_intel_uncore() and use it 2024-12-16T16:09:38Z Jani Nikula jani.nikula@intel.com 2024-11-20T12:03:35Z urn:sha1:399f7b67161eaafa3df3bea22e0663fafa3212a1 Add to_intel_uncore() function to avoid the inclusion of i915_drv.h from intel_de.h. This reveals a number of implicit dependencies on i915_drv.h that need to be added. For now, to_intel_uncore() can be an inline function, with all the includes in compat intel_uncore.h, as long as i915_drv.h isn't included. The implicit dependencies on i915_drv.h is a problem in display code, but the same is not true for xe_device.h etc. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/377e2b400d126776224fc49874ed9cb03ac3123c.1732104170.git.jani.nikula@intel.com drm/xe: Mimic i915 behavior for non-sleeping MMIO wait 2024-11-08T17:53:57Z Gustavo Sousa gustavo.sousa@intel.com 2024-11-08T12:57:07Z urn:sha1:359d2cc1f394ed62ed01540a486e744d47674c39 In upcoming display changes, we will modify the DMC wakelock MMIO waiting code to choose a non-sleeping variant implementation, because the wakelock is also taking in atomic context. While xe provides an explicit parameter (namely "atomic") to prevent xe_mmio_wait32() from sleeping, i915 does not and implements that behavior when slow_timeout_ms is zero. So, for now, let's mimic what i915 does to allow for display to use non-sleeping MMIO wait. In the future, we should come up with a better and explicit interface for this behavior in i915, at least while display code is not an independent entity with proper interfaces between xe and i915. v2: - Make the tone in comment the comment added in __intel_wait_for_register() more explanatory than a FIXME-like text. (Luca) Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241108130218.24125-3-gustavo.sousa@intel.com Merge drm/drm-next into drm-intel-next 2024-10-17T16:52:05Z Rodrigo Vivi rodrigo.vivi@intel.com 2024-10-17T16:52:05Z urn:sha1:c141cf76918e25ec7bd433b47590e8c3f3d02542 Needed to bring some KVM changes to be able to include a fix in our Kconfig. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> drm/xe/display: remove compat raw reg read/write support 2024-09-19T13:01:08Z Jani Nikula jani.nikula@intel.com 2024-04-08T12:54:45Z urn:sha1:dfecc2952e43ea64a5cca1be438cb8b16b3f7acd The i915 display code no longer uses these interfaces. Remove them. Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240408125445.3227678-2-jani.nikula@intel.com