lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231121003935.5868-1-robdclark@gmail.com>
Date:   Mon, 20 Nov 2023 16:38:44 -0800
From:   Rob Clark <robdclark@...il.com>
To:     dri-devel@...ts.freedesktop.org
Cc:     freedreno@...ts.freedesktop.org, linux-arm-msm@...r.kernel.org,
        Rob Clark <robdclark@...omium.org>,
        Alex Deucher <alexander.deucher@....com>,
        amd-gfx@...ts.freedesktop.org (open list:AMD KFD),
        Arthur Grillo <arthurgrillo@...eup.net>,
        Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@....com>,
        Boris Brezillon <boris.brezillon@...labora.com>,
        Christian König <christian.koenig@....com>,
        Danilo Krummrich <dakr@...hat.com>,
        Felix Kuehling <Felix.Kuehling@....com>,
        Guchun Chen <guchun.chen@....com>,
        Jack Xiao <Jack.Xiao@....com>,
        Jonathan Kim <jonathan.kim@....com>, Lang Yu <Lang.Yu@....com>,
        Leo Liu <leo.liu@....com>, Lijo Lazar <lijo.lazar@....com>,
        linux-kernel@...r.kernel.org (open list),
        linux-pm@...r.kernel.org (open list:POWER MANAGEMENT CORE),
        Marijn Suijten <marijn.suijten@...ainline.org>,
        Mario Limonciello <mario.limonciello@....com>,
        nouveau@...ts.freedesktop.org (open list:DRM DRIVER FOR NVIDIA
        GEFORCE/QUADRO GPUS), Philip Yang <Philip.Yang@....com>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Sean Paul <sean@...rly.run>,
        Shashank Sharma <shashank.sharma@....com>,
        Srinivasan Shanmugam <srinivasan.shanmugam@....com>,
        Suren Baghdasaryan <surenb@...gle.com>,
        Tvrtko Ursulin <tvrtko.ursulin@...el.com>,
        Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@....com>
Subject: [PATCH v2 0/7] drm/msm/gem: drm_exec conversion

From: Rob Clark <robdclark@...omium.org>

Simplify the exec path (removing a legacy optimization) and convert to
drm_exec.  One drm_exec patch to allow passing in the expected # of GEM
objects to avoid re-allocation.

I'd be a bit happier if I could avoid the extra objects table allocation
in drm_exec in the first place, but wasn't really happy with any of the
things I tried to get rid of that.

v2: updates in 6/7 and other nit-addressing

Rob Clark (7):
  drm/msm/gem: Remove "valid" tracking
  drm/msm/gem: Remove submit_unlock_unpin_bo()
  drm/msm/gem: Don't queue job to sched in error cases
  drm/msm/gem: Split out submit_unpin_objects() helper
  drm/msm/gem: Cleanup submit_cleanup_bo()
  drm/exec: Pass in initial # of objects
  drm/msm/gem: Convert to drm_exec

 .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c        |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c  |   4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c          |   2 +-
 drivers/gpu/drm/drm_exec.c                    |  13 +-
 drivers/gpu/drm/msm/Kconfig                   |   1 +
 drivers/gpu/drm/msm/msm_gem.h                 |  13 +-
 drivers/gpu/drm/msm/msm_gem_submit.c          | 199 +++++-------------
 drivers/gpu/drm/msm/msm_ringbuffer.c          |   3 +-
 drivers/gpu/drm/nouveau/nouveau_exec.c        |   2 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c        |   2 +-
 drivers/gpu/drm/tests/drm_exec_test.c         |  16 +-
 include/drm/drm_exec.h                        |   2 +-
 16 files changed, 92 insertions(+), 187 deletions(-)

-- 
2.42.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ