drm/amd/display: Explicitly specify update type per plane info change
authorjsg <jsg@openbsd.org>
Thu, 20 Jul 2023 08:23:21 +0000 (08:23 +0000)
committerjsg <jsg@openbsd.org>
Thu, 20 Jul 2023 08:23:21 +0000 (08:23 +0000)
From Nicholas Kazlauskas
9fbe61e3c245fd16d86b2383499458a229c0cd22 in linux-6.1.y/6.1.39
710cc1e7cd461446a9325c9bd1e9a54daa462952 in mainline linux

sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c

index 087a483..b405f2e 100644 (file)
@@ -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;