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 <[email protected]>
---
 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

Reply via email to