[Intel-xe] [PATCH v3 02/10] Revert "drm/i915/fbc: set compressed_fb to NULL on error"
Jouni Högander
jouni.hogander at intel.com
Fri Jun 2 10:42:29 UTC 2023
This reverts commit a85e885ec8004b465d477a37ef6dd3ea4e714bef.
As a part of clean-up we want to revert this patch and introduce required
changes as a set of patches.
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_fbc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index 0a9b081c18b8..3dc9620552e9 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -76,7 +76,7 @@ static int i915_gem_stolen_insert_node_in_range(struct xe_device *xe, struct xe_
ttm_bo_type_kernel, flags);
if (IS_ERR(*bo)) {
err = PTR_ERR(*bo);
- *bo = NULL;
+ bo = NULL;
return err;
}
err = xe_bo_pin(*bo);
--
2.34.1
More information about the Intel-xe
mailing list