| #
cca7eda1 |
| 20-Jan-2026 |
Jani Nikula <jani.nikula@intel.com> |
drm/{i915, xe}/dsb: move DSB buffer to parent interface
Move the DSB buffer handling to the display parent interface, making display more independent of i915 and xe driver implementations.
Since th
drm/{i915, xe}/dsb: move DSB buffer to parent interface
Move the DSB buffer handling to the display parent interface, making display more independent of i915 and xe driver implementations.
Since the DSB parent interface is only called from intel_dsb.c, add the wrappers there with smaller visibility instead of the usual intel_parent.[ch], and using struct intel_dsb as the context parameter for convenience.
Unfortunately, memset() being a macro in linux/fortify-string.h, we can't use that as the function pointer name. dsb->memset() would be using the macro and leading to build failures. Therefore, use .fill() for the memset() functionality.
v2: s/memset/fill/
Reviewed-by: Michał Grzelak <michal.grzelak@intel.com> Link: https://patch.msgid.link/df117c862a6d34dae340e4a85c2482b4e29c8884.1768923917.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
show more ...
|
| #
1617f595 |
| 20-Jan-2026 |
Jani Nikula <jani.nikula@intel.com> |
drm/i915/dsb: move i915 specific DSB buffer implementation to i915
The DSB buffer implementation is different for both i915 and xe. Move the i915 specific implementation from display to i915 core.
drm/i915/dsb: move i915 specific DSB buffer implementation to i915
The DSB buffer implementation is different for both i915 and xe. Move the i915 specific implementation from display to i915 core.
Reviewed-by: Michał Grzelak <michal.grzelak@intel.com> Link: https://patch.msgid.link/a01b3e69a3f79713eacf437af00dbe23d2f9c8dd.1768923917.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
show more ...
|