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: <20231027165859.395638-1-robdclark@gmail.com>
Date:   Fri, 27 Oct 2023 09:58:34 -0700
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:RADEON and AMDGPU DRM DRIVERS),
        Andrew Morton <akpm@...ux-foundation.org>,
        Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@....com>,
        Christian König <christian.koenig@....com>,
        Dong Chenchen <dongchenchen2@...wei.com>,
        Felix Kuehling <Felix.Kuehling@....com>,
        Guchun Chen <guchun.chen@....com>,
        Jack Xiao <Jack.Xiao@....com>, James Zhu <James.Zhu@....com>,
        Jonathan Kim <jonathan.kim@....com>, Lang Yu <Lang.Yu@....com>,
        linux-kernel@...r.kernel.org (open list),
        linux-pm@...r.kernel.org (open list:SUSPEND TO RAM),
        Luben Tuikov <luben.tuikov@....com>,
        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>
Subject: [PATCH 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.

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

 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/drm_exec.c              |  15 +-
 drivers/gpu/drm/msm/Kconfig             |   1 +
 drivers/gpu/drm/msm/msm_gem.h           |  13 +-
 drivers/gpu/drm/msm/msm_gem_submit.c    | 197 ++++++------------------
 drivers/gpu/drm/msm/msm_ringbuffer.c    |   3 +-
 drivers/gpu/drm/nouveau/nouveau_exec.c  |   2 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c  |   2 +-
 include/drm/drm_exec.h                  |   2 +-
 12 files changed, 79 insertions(+), 170 deletions(-)

-- 
2.41.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ