freedreno/drm: Disable threaded-submit for msm

We've had drm/sched support on the kernel side for more than a year and
a half.  This makes submit ioctl async by handling fence waits from the
sched's kthread, which is what threaded submit was originally working
around.  For now, threaded submit is only used for virtgpu, which does
not (yet?) have drm/sched support.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22098>
This commit is contained in:
Rob Clark
2023-03-25 06:41:13 -07:00
committed by Marge Bot
parent a16533c43e
commit 8416bc1c60

View File

@@ -60,15 +60,6 @@ msm_device_new(int fd, drmVersionPtr version)
dev->funcs = &funcs;
dev->version = version->version_minor;
/* async submit_queue currently only used for msm_submit_sp: */
if (version->version_minor >= FD_VERSION_SOFTPIN) {
/* Note the name is intentionally short to avoid the queue
* thread's comm truncating the interesting part of the
* process name.
*/
util_queue_init(&dev->submit_queue, "sq", 8, 1, 0, NULL);
}
if (version->version_minor >= FD_VERSION_CACHED_COHERENT) {
struct drm_msm_gem_new new_req = {
.size = 0x1000,