diff options
| author | Thomas Zimmermann <[email protected]> | 2024-08-12 08:28:23 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-08-13 14:21:08 +0000 |
| commit | 7a26f18119d1daf910cca58f875582d50d0e4974 (patch) | |
| tree | 65276a637995aa996d726ff127fa8bbc9b39d8ca /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm: Do delayed switcheroo in drm_lastclose() (diff) | |
| download | kernel-7a26f18119d1daf910cca58f875582d50d0e4974.tar.gz kernel-7a26f18119d1daf910cca58f875582d50d0e4974.zip | |
drm/amdgpu: Do not set struct drm_driver.lastclose
Remove the implementation of struct drm_driver.lastclose. The hook
was only necessary before in-kernel DRM clients existed, but is now
obsolete. The code in amdgpu_driver_lastclose_kms() is performed by
drm_lastclose().
v2:
- update commit message
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 137a88b8de45..4baeb6519fda 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1484,7 +1484,6 @@ extern const int amdgpu_max_kms_ioctl; int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags); void amdgpu_driver_unload_kms(struct drm_device *dev); -void amdgpu_driver_lastclose_kms(struct drm_device *dev); int amdgpu_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); void amdgpu_driver_postclose_kms(struct drm_device *dev, struct drm_file *file_priv); |
