]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: allow unaligned start and size xe_res_cursor parameters
authorAndrzej Hajda <andrzej.hajda@intel.com>
Thu, 18 Apr 2024 14:03:37 +0000 (16:03 +0200)
committerNirmoy Das <nirmoy.das@intel.com>
Tue, 28 May 2024 12:43:49 +0000 (14:43 +0200)
commit82e0b1299a3ef81a672398c547d8e7f553be793e
treea86c03d6e8ecf4e934618f7b1658c5497059cc8f
parent38007fa96419a9db9719f170b9e8a7877821cdd1
drm/xe: allow unaligned start and size xe_res_cursor parameters

xe_res_cursor code does not depend on the alignment. On the other side
unaligned accesses are useful from pread/pwrite point of view.

Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240418-xe_res_cursor-no-align-v1-1-8df7834266c9@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/xe/xe_res_cursor.h