]> git.baikalelectronics.ru Git - kernel.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)
commitd4e387fd10f35c9c415ac7a0b8a9d08d4432e8fb
tree7053833357a4bb9f40180238f1d02fdbb8596312
parent254c2f6736407b9de5cc64629d4dc00c1ae4db4c
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