X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Fdrm%2Fdrm_device.h;h=c3082a27d5c106690cd0e4b1f8fd941beb129881;hb=ada8b8da0a063722696a944dcbda2e397c8458e9;hp=e21af87a2f3c61a8d69c96ae40d2f9839df99d03;hpb=e7989f973ae1b90ec7c0b671c81f7f553affccbe;p=mirror_ubuntu-bionic-kernel.git diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h index e21af87a2f3c..c3082a27d5c1 100644 --- a/include/drm/drm_device.h +++ b/include/drm/drm_device.h @@ -146,7 +146,13 @@ struct drm_device { * races and imprecision over longer time periods, hence exposing a * hardware vblank counter is always recommended. * - * If non-zeor, &drm_crtc_funcs.get_vblank_counter must be set. + * This is the statically configured device wide maximum. The driver + * can instead choose to use a runtime configurable per-crtc value + * &drm_vblank_crtc.max_vblank_count, in which case @max_vblank_count + * must be left at zero. See drm_crtc_set_max_vblank_count() on how + * to use the per-crtc value. + * + * If non-zero, &drm_crtc_funcs.get_vblank_counter must be set. */ u32 max_vblank_count; /**< size of vblank counter register */