diff options
author | 2019-06-10 00:07:50 +0200 | |
---|---|---|
committer | 2019-06-10 22:59:45 +0200 | |
commit | 4fc4dca8320e46b067037496fde3a6d95381d60f (patch) | |
tree | af3db1dde98e39f98b8bfad890f0ab25dd1a45fc /drivers/gpu/drm/amd/display/dc/core/dc_surface.c | |
parent | drm/amd: drop dependencies on drm_os_linux.h (diff) | |
download | linux-dev-4fc4dca8320e46b067037496fde3a6d95381d60f.tar.xz linux-dev-4fc4dca8320e46b067037496fde3a6d95381d60f.zip |
drm/amd: drop use of drmp.h in os_types.h
Drop use of the deprecated drmP.h from display/dc/os_types.h
Fix all fallout after this change.
Most of the fixes was adding a missing include of vmalloc.h.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190609220757.10862-4-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/core/dc_surface.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_surface.c b/drivers/gpu/drm/amd/display/dc/core/dc_surface.c index a5e86f9b148f..87b3b03c3556 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_surface.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_surface.c @@ -23,6 +23,8 @@ * */ +#include <linux/mm.h> + /* DC interface (public) */ #include "dm_services.h" #include "dc.h" |