drm/msm/gem: Remove "valid" tracking
authorRob Clark <robdclark@chromium.org>
Tue, 21 Nov 2023 00:38:45 +0000 (16:38 -0800)
committerRob Clark <robdclark@chromium.org>
Sun, 10 Dec 2023 18:23:13 +0000 (10:23 -0800)
commita3dec9cdf42bceccdf7a7185099a515ba0a8b29b
treebfbc25960d2c5d792a19245308fcc72561786218
parent3e6688fd96966b6c275e95c39aa367bc0a490ccd
drm/msm/gem: Remove "valid" tracking

This was a small optimization for pre-soft-pin userspace.  But mesa
switched to soft-pin nearly 5yrs ago.  So lets drop the optimization
and simplify the code.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/568328/
drivers/gpu/drm/msm/msm_gem.h
drivers/gpu/drm/msm/msm_gem_submit.c