OpenCloudOS-Kernel/drivers/gpu/drm/msm/disp/mdp5
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
..
mdp5.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
mdp5_cfg.c drm/msm/mdp5: add config for msm8917 2018-12-11 13:07:07 -05:00
mdp5_cfg.h
mdp5_cmd_encoder.c Merge drm/drm-next into drm-misc-next 2019-01-11 16:32:10 +01:00
mdp5_crtc.c Merge drm/drm-next into drm-misc-next 2019-01-11 16:32:10 +01:00
mdp5_ctl.c drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
mdp5_ctl.h
mdp5_encoder.c drm: msm: Cleanup drm_display_mode print str 2019-01-10 21:05:39 +01:00
mdp5_irq.c
mdp5_kms.c drm-misc-next for 5.1: 2019-01-10 05:58:52 +10:00
mdp5_kms.h drm/msm: Don't subclass drm_atomic_state anymore 2018-06-03 16:49:00 -04:00
mdp5_mdss.c drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
mdp5_mixer.c drm/msm/mdp5: Use the new private_obj state 2018-06-03 16:49:00 -04:00
mdp5_mixer.h
mdp5_pipe.c drm/msm/mdp5: Use the new private_obj state 2018-06-03 16:49:00 -04:00
mdp5_pipe.h
mdp5_plane.c drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
mdp5_smp.c drm: move drm_can_sleep() to drm_util.h 2019-01-14 10:58:37 +01:00
mdp5_smp.h