]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/r128: drop drm_os_linux dependencies
authorSam Ravnborg <sam@ravnborg.org>
Wed, 5 Jun 2019 14:13:20 +0000 (16:13 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 5 Jun 2019 18:31:12 +0000 (20:31 +0200)
commit3c1aa3b3872788f0cc567d7d9046039b95654a51
tree7053833357a4bb9f40180238f1d02fdbb8596312
parentac0ac2102003d1990a44e17b97721e6909c1dc82
drm/r128: drop drm_os_linux dependencies

Drop use of drm_os_linux macros.

Simple 1:1 replacements of
- DRM_UDELAY
- DRM_CURRENTPID
- DRM_READ
- DRM_WRITE

With this change we do not need to introduce the deprecated
drm_os_linux.h header when we drop use of drmP.h.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20190605141321.17819-2-sam@ravnborg.org
drivers/gpu/drm/r128/r128_cce.c
drivers/gpu/drm/r128/r128_drv.h
drivers/gpu/drm/r128/r128_state.c