aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-05-02 10:29:08 -0700
committerRob Clark <robdclark@chromium.org>2022-05-07 09:56:42 -0700
commit4a257ca694015f8c10aeb27bc4b32282d136b7d0 (patch)
treeff5741087e29a410444142b2ba0d0c75687c6dfa /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
parentb9b19980a14fc3c37cd3936ef84a5a47aa891965 (diff)
drm/msm: Limit command submission when no IOMMU
Running the GPU without an IOMMU is not really a supported (or sane) configuration. Yet it can be useful during SoC bringup (ie. if the iommu driver doesn't work yet). Lets limit it to users who already have /dev/mem access, to avoid the chance that a user accidentially configures kernel without IOMMU support. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20220502172908.3569799-1-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c')
0 files changed, 0 insertions, 0 deletions