From: Tony Cheng <tony.ch...@amd.com>

Change-Id: If6a337b16b78e1dd8a952d6c1064426961f6d5a7
Signed-off-by: Tony Cheng <tony.ch...@amd.com>
Acked-by: Harry Wentland <harry.wentl...@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/core/dc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc.c 
b/drivers/gpu/drm/amd/dal/dc/core/dc.c
index 6e32f1bd935c..aaf61a1feb47 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc.c
@@ -449,7 +449,7 @@ static void destruct(struct core_dc *dc)
        resource_validate_ctx_destruct(dc->current_context);
 
        dm_free(dc->temp_flip_context);
-       dc->current_context = NULL;
+       dc->temp_flip_context = NULL;
 
        destroy_links(dc);
 
-- 
2.10.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to