diff options
author | Christopher Snowhill <kode54@gmail.com> | 2023-05-24 18:56:06 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-19 18:34:01 -0500 |
commit | e2bd81af05cb6dc9cbf7a367a48e43316207dd0e (patch) | |
tree | 9ff97c0b30ae9c21915c4657960fe8872cb222cf /drivers/gpu/drm/drm_fbdev_dma.c | |
parent | 1b1d3710380d5f0517dcaabe1b96b6401f68ec37 (diff) |
drm/xe: Add explicit padding to uAPI definition
Pad the uAPI definition so that it would align identically between
64-bit and 32-bit uarch, so consumers using this header will work
correctly from 32-bit compat userspace on a 64-bit kernel. Do it
in a minimally invasive way, so that 64-bit userspace will still
work with the previous header, and so that no fields suddenly
change sizes.
Originally inspired by mlankhorst.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fbdev_dma.c')
0 files changed, 0 insertions, 0 deletions