diff options
author | Taotao Chen <chentaotao@didiglobal.com> | 2025-07-16 09:36:03 +0000 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-16 14:48:18 +0200 |
commit | e7b840fd4956da86e93a8258155cf3e127f509e7 (patch) | |
tree | 15f98eaa7595613e8f0cbc347ecbc78c11337d8e /scripts/lib/kdoc/kdoc_files.py | |
parent | f2e467a48287c868818085aa35389a224d226732 (diff) |
drm/i915: Use kernel_write() in shmem object create
Replace the write_begin/write_end loop in
i915_gem_object_create_shmem_from_data() with call to kernel_write().
This function initializes shmem-backed GEM objects. kernel_write()
simplifies the code by removing manual folio handling.
Part of a series refactoring address_space_operations write_begin and
write_end callbacks to use struct kiocb for passing write context and
flags.
Signed-off-by: Taotao Chen <chentaotao@didiglobal.com>
Link: https://lore.kernel.org/20250716093559.217344-2-chentaotao@didiglobal.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions