hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/gpu/drm/amd/display/dc/core/dc.c
....@@ -616,6 +616,7 @@
616616
617617 dc_ctx->perf_trace = dc_perf_trace_create();
618618 if (!dc_ctx->perf_trace) {
619
+ kfree(dc_ctx);
619620 ASSERT_CRITICAL(false);
620621 return false;
621622 }
....@@ -1853,9 +1854,6 @@
18531854 enum surface_update_type type;
18541855 enum surface_update_type overall_type = UPDATE_TYPE_FAST;
18551856 union surface_update_flags *update_flags = &u->surface->update_flags;
1856
-
1857
- if (u->flip_addr)
1858
- update_flags->bits.addr_update = 1;
18591857
18601858 if (!is_surface_in_context(context, u->surface) || u->surface->force_full_update) {
18611859 update_flags->raw = 0xFFFFFFFF;