.. | .. |
---|
616 | 616 | |
---|
617 | 617 | dc_ctx->perf_trace = dc_perf_trace_create(); |
---|
618 | 618 | if (!dc_ctx->perf_trace) { |
---|
| 619 | + kfree(dc_ctx); |
---|
619 | 620 | ASSERT_CRITICAL(false); |
---|
620 | 621 | return false; |
---|
621 | 622 | } |
---|
.. | .. |
---|
1853 | 1854 | enum surface_update_type type; |
---|
1854 | 1855 | enum surface_update_type overall_type = UPDATE_TYPE_FAST; |
---|
1855 | 1856 | union surface_update_flags *update_flags = &u->surface->update_flags; |
---|
1856 | | - |
---|
1857 | | - if (u->flip_addr) |
---|
1858 | | - update_flags->bits.addr_update = 1; |
---|
1859 | 1857 | |
---|
1860 | 1858 | if (!is_surface_in_context(context, u->surface) || u->surface->force_full_update) { |
---|
1861 | 1859 | update_flags->raw = 0xFFFFFFFF; |
---|