diff options
author | Nirmoy Das <nirmoy.das@intel.com> | 2022-09-07 19:26:41 +0200 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-09-08 11:06:35 +0100 |
commit | 04f7eb3d4582a0a4da67c86e55fda7de2df86d91 (patch) | |
tree | b5e0b6fd60a70fa5021a6123509919c4dace048c /ipc | |
parent | 3bb6a44251b4d066d73faf43dc17bad05963ae16 (diff) | |
download | lwn-04f7eb3d4582a0a4da67c86e55fda7de2df86d91.tar.gz lwn-04f7eb3d4582a0a4da67c86e55fda7de2df86d91.zip |
drm/i915: Set correct domains values at _i915_vma_move_to_active
Fix regression introduced by commit:
"drm/i915: Individualize fences before adding to dma_resv obj"
which sets obj->read_domains to 0 for both read and write paths.
Also set obj->write_domain to 0 on read path which was removed by
the commit.
References: https://gitlab.freedesktop.org/drm/intel/-/issues/6639
Fixes: 420a07b841d0 ("drm/i915: Individualize fences before adding to dma_resv obj")
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Cc: <stable@vger.kernel.org> # v5.16+
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907172641.12555-1-nirmoy.das@intel.com
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions