linux_dsm_epyc7002/include/drm
Daniel Vetter d673c02c4b drm/vblank: Switch drm_driver->get_vblank_timestamp to return a bool
There's really no reason for anything more:
- Calling this while the crtc vblank stuff isn't set up is a driver
  bug. Those places alrready DRM_ERROR.
- Calling this when the crtc is off is either a driver bug (calling
  drm_crtc_handle_vblank at the wrong time) or a core bug (for
  anything else). Again, we DRM_ERROR.
- EINVAL is checked at higher levels already, and if we'd use struct
  drm_crtc * instead of (dev, pipe) it would be real obvious that
  those are again core bugs.

The only valid failure mode is crap hardware that couldn't sample a
useful timestamp, to ask the core to just grab a not-so-accurate
timestamp. Bool is perfectly fine for that.

v2: Also fix up the one caller, I lost that in the shuffling (Jani).

v3: Fixup commit message (Neil).

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Cc: Eric Anholt <eric@anholt.net>
Cc: Rob Clark <robdclark@gmail.com>
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170509140329.24114-1-daniel.vetter@ffwll.ch
2017-05-10 10:21:08 +02:00
..
bridge drm: bridge: dw-hdmi: Move HPD handling to PHY operations 2017-04-04 17:48:21 +02:00
i2c
tinydrm
ttm Linux 4.11-rc6 2017-04-11 07:40:42 +10:00
ati_pcigart.h
drm_agpsupport.h
drm_atomic_helper.h drm: Add acquire ctx to ->gamma_set hook 2017-04-06 10:21:55 +02:00
drm_atomic.h drm: Add driver-private objects to atomic state 2017-05-04 15:02:45 +02:00
drm_auth.h
drm_blend.h
drm_bridge.h
drm_cache.h
drm_color_mgmt.h drm: drm_color_mgmt.h needs struct drm_crtc declaration 2017-05-02 10:30:23 +02:00
drm_connector.h drm/atomic: Add support for custom scaling mode properties, v2 2017-05-08 13:20:43 +02:00
drm_crtc_helper.h drm/atomic: Acquire connection_mutex lock in drm_helper_probe_single_connector_modes, v4. 2017-04-06 21:29:23 +02:00
drm_crtc.h drm/doc: Interlink color manager docs better 2017-04-18 08:56:29 +02:00
drm_debugfs_crc.h
drm_debugfs.h
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h drm/cec: Add CEC over Aux register definitions 2017-04-21 10:52:42 +03:00
drm_dp_mst_helper.h drm/dp: Add DP MST helpers to atomically find and release vcpi slots 2017-05-04 15:02:47 +02:00
drm_drv.h drm/vblank: Switch drm_driver->get_vblank_timestamp to return a bool 2017-05-10 10:21:08 +02:00
drm_edid.h
drm_encoder_slave.h
drm_encoder.h
drm_fb_cma_helper.h drm/fb-cma-helper: Add drm_fb_cma_get_gem_addr() 2017-04-14 11:30:28 -07:00
drm_fb_helper.h
drm_file.h
drm_fixed.h
drm_flip_work.h
drm_fourcc.h
drm_framebuffer.h
drm_gem_cma_helper.h drm/cma: Fix recent regression of mmap() in the MMU case. 2017-04-18 12:25:37 -07:00
drm_gem.h
drm_global.h
drm_hashtab.h
drm_ioctl.h drm: document drm_ioctl.[hc] 2017-04-04 20:47:54 +02:00
drm_irq.h drm/vblank: Switch drm_driver->get_vblank_timestamp to return a bool 2017-05-10 10:21:08 +02:00
drm_legacy.h
drm_mem_util.h
drm_mipi_dsi.h
drm_mm.h
drm_mode_config.h
drm_mode_object.h
drm_modes.h
drm_modeset_helper_vtables.h drm/atomic: Add connector atomic_check function, v2. 2017-04-06 17:00:27 -04:00
drm_modeset_helper.h
drm_modeset_lock.h drm: Remove drm_modeset_legacy_acquire_ctx and crtc->acquire_ctx 2017-04-05 09:26:45 +02:00
drm_of.h drm: of: introduce drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
drm_os_linux.h
drm_panel.h drm: make of_drm_find_panel also depend on CONFIG_DRM_PANEL 2017-04-06 17:00:27 -04:00
drm_pci.h
drm_pciids.h
drm_plane_helper.h
drm_plane.h
drm_prime.h drm/prime: Introduce drm_gem_prime_import_dev 2017-05-08 09:39:13 +02:00
drm_print.h
drm_property.h
drm_rect.h
drm_scdc_helper.h
drm_simple_kms_helper.h drm: Clarify the role of plane_state argument to drm_simple update(). 2017-03-30 12:02:00 -07:00
drm_sysfs.h drm: Consolidate and document sysfs support 2017-04-04 20:47:54 +02:00
drm_vma_manager.h
drmP.h drm/vblank: Switch drm_driver->get_vblank_timestamp to return a bool 2017-05-10 10:21:08 +02:00
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
intel_lpe_audio.h
intel-gtt.h