diff options
author | Tvrtko Ursulin <[email protected]> | 2023-07-07 13:55:03 +0100 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2023-07-11 09:21:32 +0100 |
commit | 113899c2669dff148b2a5bea4780123811aecc13 (patch) | |
tree | 9f6991e79eef5437546befa4a4b493e40b7fff29 /scripts/generate_rust_analyzer.py | |
parent | 6bf0961a008ac74b085f1690fba8520ac3b253ee (diff) |
drm/i915: Fix one wrong caching mode enum usage
Commit a4d86249c773 ("drm/i915/gt: Provide a utility to create a scratch
buffer") mistakenly passed in uapi I915_CACHING_CACHED as argument to
i915_gem_object_set_cache_coherency(), which actually takes internal
enum i915_cache_level.
No functional issue since the value matches I915_CACHE_LLC (1 == 1), which
is the intended caching mode, but lets clean it up nevertheless.
Signed-off-by: Tvrtko Ursulin <[email protected]>
Fixes: a4d86249c773 ("drm/i915/gt: Provide a utility to create a scratch buffer")
Cc: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Tejas Upadhyay <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 49c60b2f0867ac36fd54d513882a48431aeccae7)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions