- Add DRM_GET_PRIV_WITH_RETURN macro. This can be used in shared code to
authorEric Anholt <anholt@freebsd.org>
Wed, 22 Oct 2003 22:08:53 +0000 (22:08 +0000)
committerEric Anholt <anholt@freebsd.org>
Wed, 22 Oct 2003 22:08:53 +0000 (22:08 +0000)
commit86e6325e5ab848c15c422f20133445fe6c1caa09
tree8c4699b4ddac738ed005d5f4aedd9dae4c628bed
parent4e6ddcbb698c029b407d5dc43348c6e422a36705
- Add DRM_GET_PRIV_WITH_RETURN macro. This can be used in shared code to
    get the drm_file_t * based on the filp passed in ioctl handlers.
- Use this macro on BSD for simplification and improve its error reporting.
    Make failure to find the drm_file_t * print as an error, not debug.
    This failure may be part of the problem with KDE.
- Make debug and error print macros include the pid on BSD.
12 files changed:
bsd-core/drm_auth.c
bsd-core/drm_drv.c
bsd-core/drm_os_freebsd.h
bsd-core/drm_os_netbsd.h
bsd-core/drm_vm.c
bsd/drm_auth.h
bsd/drm_drv.h
bsd/drm_os_freebsd.h
bsd/drm_os_netbsd.h
bsd/drm_vm.h
linux-core/drm_os_linux.h
linux/drm_os_linux.h