OpenCloudOS-Kernel/drivers/gpu/drm/qxl
Sam Ravnborg e9eafcb589 drm: move drm_can_sleep() to drm_util.h
Move drm_can_sleep() out of drmP.h to allow users
to get rid of the drmP.h include.

There was no header file that was a good match for this helper function.
So add this to drm_util with the relevant includes.

Add include of drm_util.h to all users.

v2:
- Update comments to use kernel-doc style (Daniel)
- Add FIXME to drm_can_sleep and add note that this
  function should not be used in new code (Daniel)

v3:
- Fix kernel-doc syntax (Daniel)
- Plug drm_util.h into drm-internels.rst (Daniel)

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190112193251.20450-2-sam@ravnborg.org
2019-01-14 10:58:37 +01:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/qxl: fix include notation and remove -Iinclude/drm flag 2017-05-17 14:36:17 +02:00
qxl_cmd.c drm: move drm_can_sleep() to drm_util.h 2019-01-14 10:58:37 +01:00
qxl_debugfs.c drm/qxl: Use 'unsigned int' instead of 'usigned' 2018-10-30 07:20:00 +01:00
qxl_dev.h drm/qxl: Remove exceding whiteline 2018-10-30 07:19:59 +01:00
qxl_display.c qxl: Use struct_size() in kzalloc() 2019-01-09 09:38:49 +01:00
qxl_draw.c qxl: No need for NULL check before calling qxl_bo_unref() 2018-11-21 09:12:45 +01:00
qxl_drv.c qxl: fix null-pointer crash during suspend 2018-09-05 08:26:24 +02:00
qxl_drv.h Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-11-19 11:07:52 +10:00
qxl_dumb.c drm/qxl: Add line after variable declarations 2018-10-30 07:19:59 +01:00
qxl_fb.c qxl: Remove unused qxl_bo_pin arguments 2018-11-21 09:12:45 +01:00
qxl_gem.c drm/qxl: Replace ttm_bo_unref with ttm_bo_put 2018-08-30 09:41:01 +02:00
qxl_image.c drm/qxl: Use 'unsigned int' instead of 'usigned' 2018-10-30 07:20:00 +01:00
qxl_ioctl.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
qxl_irq.c qxl: remove qxl_io_log() 2018-04-27 08:58:04 +02:00
qxl_kms.c qxl: No need for NULL check before calling qxl_bo_unref() 2018-11-21 09:12:45 +01:00
qxl_object.c qxl: Remove unused qxl_bo_pin arguments 2018-11-21 09:12:45 +01:00
qxl_object.h qxl: Remove unused qxl_bo_pin arguments 2018-11-21 09:12:45 +01:00
qxl_prime.c drm/qxl: Remove exceding whiteline 2018-10-30 07:19:59 +01:00
qxl_release.c Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-12-13 10:06:34 +10:00
qxl_ttm.c Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-11-19 11:07:52 +10:00