]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ttm: don't leak the ccs state
authorMatthew Auld <matthew.auld@intel.com>
Wed, 27 Jul 2022 16:43:46 +0000 (17:43 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 28 Jul 2022 10:37:13 +0000 (11:37 +0100)
commit2af064c5dc0938d2e25f18ed2d7d375f45c84ffe
tree54615c9083b40f361228894b023e674d13012f35
parent01679cd733ce8893f18a275da33c5bb170261c74
drm/i915/ttm: don't leak the ccs state

The kernel only manages the ccs state with lmem-only objects, however
the kernel should still take care not to leak the CCS state from the
previous user.

Fixes: ba699001cc0a ("drm/i915/gt: Clear compress metadata for Flat-ccs objects")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220727164346.282407-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/intel_migrate.c