freedreno: Remove obsolete comment

We do used CACHED_COHERENT in some cases.  We don't used
cached-incoherent, so nothing more to do.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35447>
This commit is contained in:
Rob Clark 2025-06-07 08:24:18 -07:00 committed by Marge Bot
parent 4a80e0baf6
commit a890ad80d6

View file

@ -197,11 +197,6 @@ realloc_bo(struct fd_resource *rsc, uint32_t size)
FD_BO_CACHED_COHERENT) |
COND(prsc->bind & PIPE_BIND_SHARED, FD_BO_SHARED) |
COND(prsc->bind & PIPE_BIND_SCANOUT, FD_BO_SCANOUT);
/* TODO other flags? */
/* if we start using things other than write-combine,
* be sure to check for PIPE_RESOURCE_FLAG_MAP_COHERENT
*/
if (rsc->bo)
fd_bo_del(rsc->bo);