[PATCH 0/2] amdgpu's drm_driver becomes const

Luben Tuikov luben.tuikov at amd.com
Wed Nov 4 03:11:27 UTC 2020


Hi Daniel,

These two patches follow up your latest
DRM work to make definitions of struct drm_driver
in DRM low-level drivers, constant, in amdgpu.

This set doesn't descend from my previous patch
"drm/amdgpu: Convert to using devm_drm_dev_alloc() (v2)",
since our branch doesn't have it, and I can see
that your const patches aren't in drm-next yet,
but they are based on my conversion patch.
Perhaps you can graft these two patches locally
and dispatch them via drm-next. (There'll be
a one-line conflict, namely the devm_drm_dev_alloc().)

Thanks and Regards,
Luben

Alex Deucher (1):
  drm/amdgpu/virt: fix handling of the atomic flag

Luben Tuikov (1):
  drm/amdgpu: Make struct drm_driver const

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c  | 32 +++++++++++++++++++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c  | 25 +-----------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c |  4 ++-
 3 files changed, 32 insertions(+), 29 deletions(-)

-- 
2.29.2.154.g7f7ebe054a



More information about the dri-devel mailing list