diff options
| author | Thomas Zimmermann <[email protected]> | 2021-01-07 08:07:42 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2021-01-13 08:02:58 +0000 |
| commit | 8f66090b7bb7f2a2183f46e72e367922d836e0dd (patch) | |
| tree | cc2166e40fbcef704b75f07e658ea1fe8116b57f /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/amdgpu: Fix trailing whitespaces (diff) | |
| download | kernel-8f66090b7bb7f2a2183f46e72e367922d836e0dd.tar.gz kernel-8f66090b7bb7f2a2183f46e72e367922d836e0dd.zip | |
drm/amdgpu: Remove references to struct drm_device.pdev
Using struct drm_device.pdev is deprecated. Convert amdgpu to struct
drm_device.dev. No functional changes.
v3:
* rebased
Signed-off-by: Thomas Zimmermann <[email protected]>
Acked-by: Christian König <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index f764803c53a4..0150a51b65ef 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -926,6 +926,7 @@ amdgpu_display_user_framebuffer_create(struct drm_device *dev, struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd) { + struct amdgpu_device *adev = drm_to_adev(dev); struct drm_gem_object *obj; struct amdgpu_framebuffer *amdgpu_fb; int ret; |
