linux-sg2042/drivers/gpu/drm/msm
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
..
adreno ARM: SoC driver updates 2018-12-31 17:32:35 -08:00
disp drm: move drm_can_sleep() to drm_util.h 2019-01-14 10:58:37 +01:00
dsi Merge drm/drm-next into drm-misc-next 2019-01-11 16:32:10 +01:00
edp Merge drm/drm-next into drm-misc-next 2019-01-11 16:32:10 +01:00
hdmi Merge drm/drm-next into drm-misc-next 2019-01-11 16:32:10 +01:00
Kconfig drm/msm: add headless gpu device for imx5 2018-12-11 13:07:11 -05:00
Makefile drm/msm/dpu: Remove dpu_irq and unused functions 2018-12-11 13:10:18 -05:00
NOTES
msm_atomic.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_debugfs.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_debugfs.h drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_drv.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_drv.h drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_fb.c drm/msm: Add a name field for gem objects 2018-12-11 13:06:59 -05:00
msm_fbdev.c drm/msm: Add msm_gem_get_and_pin_iova() 2018-12-11 13:05:32 -05:00
msm_fence.c drm/msm: Remove unecessary dma_fence_ops 2018-08-17 11:22:25 +02:00
msm_fence.h drm/msm: strip out msm_fence_cb 2018-03-19 06:33:35 -04:00
msm_gem.c drm/msm: fix build warning for 64-bit seqno 2019-01-10 06:26:11 +10:00
msm_gem.h drm/msm: Add a name field for gem objects 2018-12-11 13:06:59 -05:00
msm_gem_prime.c drm/msm: Expose our reservation object when exporting a dmabuf. 2017-05-27 13:48:26 -04:00
msm_gem_shrinker.c drm/msm: Separate locking of buffer resources from struct_mutex 2017-06-17 08:03:07 -04:00
msm_gem_submit.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
msm_gem_vma.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_gpu.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_gpu.h drm/msm: Optimize adreno_show_object() 2018-12-11 13:07:03 -05:00
msm_gpu_trace.h drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpu_tracepoints.c drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpummu.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_iommu.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_kms.h drm/msm: Cut dpu_kms hooks from msm_pm_suspend/resume 2018-12-11 12:51:27 -05:00
msm_mmu.h drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_perf.c drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_rd.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_ringbuffer.c drm/msm/gpu: Map the ringbuffer in the iova at create time 2018-12-11 13:07:03 -05:00
msm_ringbuffer.h drm/msm/gpu: Add per-submission statistics 2018-12-11 13:05:28 -05:00
msm_submitqueue.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00