]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vmwgfx: Fix Legacy Display Unit
authorIan Forbes <ian.forbes@broadcom.com>
Thu, 25 Apr 2024 20:07:00 +0000 (15:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:02:34 +0000 (12:02 +0200)
commite10644f8ada4da016b285ef736f047eff1d0c059
tree754140a9b0c86ab104d13416bceeac47cd1a7278
parent306e99777886fd9fe3495a2b889d551dc509a820
drm/vmwgfx: Fix Legacy Display Unit

commit 782e5e7925880f737963444f141a0320a12104a5 upstream.

Legacy DU was broken by the referenced fixes commit because the placement
and the busy_placement no longer pointed to the same object. This was later
fixed indirectly by commit a78a8da51b36c7a0c0c16233f91d60aac03a5a49
("drm/ttm: replace busy placement with flags v6") in v6.9.

Fixes: 39985eea5a6d ("drm/vmwgfx: Abstract placement selection")
Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Cc: <stable@vger.kernel.org> # v6.4+
Reviewed-by: Zack Rusin <zack.rusin@broadcom.com>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240425200700.24403-1-ian.forbes@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c