From: jsg Date: Thu, 20 Jul 2023 08:23:21 +0000 (+0000) Subject: drm/amd/display: Explicitly specify update type per plane info change X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9b7d8996d2d554e7e914fa165ed3413cc7ef1a34;p=openbsd drm/amd/display: Explicitly specify update type per plane info change From Nicholas Kazlauskas 9fbe61e3c245fd16d86b2383499458a229c0cd22 in linux-6.1.y/6.1.39 710cc1e7cd461446a9325c9bd1e9a54daa462952 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c b/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c index 087a4838488..b405f2e8692 100644 --- a/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c +++ b/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c @@ -2360,9 +2360,6 @@ static enum surface_update_type det_surface_update(const struct dc *dc, enum surface_update_type overall_type = UPDATE_TYPE_FAST; union surface_update_flags *update_flags = &u->surface->update_flags; - if (u->flip_addr) - update_flags->bits.addr_update = 1; - if (!is_surface_in_context(context, u->surface) || u->surface->force_full_update) { update_flags->raw = 0xFFFFFFFF; return UPDATE_TYPE_FULL;