summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2026-01-20 18:45:41 +0300
committerJani Nikula <jani.nikula@intel.com>2026-01-26 12:56:41 +0300
commitcca7eda1c73045d6fb12b3db34f90de65412e742 (patch)
treec49e533f258542f0f288063bc502ba76c46ead2a /include/linux/root_dev.h
parent1617f5955c6458513787656afde819c91323ab03 (diff)
downloadlinux-cca7eda1c73045d6fb12b3db34f90de65412e742.tar.xz
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>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions