diff options
author | Matthew Auld <matthew.auld@intel.com> | 2021-04-29 11:30:55 +0100 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-05-04 10:58:56 +0100 |
commit | 0e997a36ecb61b161a22980ec9240ee7537f3f62 (patch) | |
tree | b57a5e0e6be9c313407e81d00aa51641aebdd5ef /drivers/gpu/drm/exynos/exynos_drm_ipp.h | |
parent | 4f869f1dbd7eac42f3d4b129b8c941de54de77bf (diff) |
drm/i915/gem: clear userspace buffers for LMEM
All userspace objects must be cleared when allocating the backing store,
before they are potentially visible to userspace. For now use simple
CPU based clearing to do this for device local-memory objects, note that
in the near future this will instead use the blitter engine.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
Cc: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Dave Airlie <airlied@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Cc: mesa-dev@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210429103056.407067-8-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_ipp.h')
0 files changed, 0 insertions, 0 deletions