<dec f='src/src/sys/external/bsd/drm2/dist/include/drm/drm_crtc_helper.h' l='180' type='void drm_helper_resume_force_mode(struct drm_device * dev)'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/drm_crtc_helper.c' l='854' ll='898' type='void drm_helper_resume_force_mode(struct drm_device * dev)'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/drm_crtc_helper.c' l='834'>/**
 * drm_helper_resume_force_mode - force-restore mode setting configuration
 * @dev: drm_device which should be restored
 *
 * Drivers which use the mode setting helpers can use this function to
 * force-restore the mode setting configuration e.g. on resume or when something
 * else might have trampled over the hw state (like some overzealous old BIOSen
 * tended to do).
 *
 * This helper doesn&apos;t provide a error return value since restoring the old
 * config should never fail due to resource allocation issues since the driver
 * has successfully set the restored configuration already. Hence this should
 * boil down to the equivalent of a few dpms on calls, which also don&apos;t provide
 * an error code.
 *
 * Drivers where simply restoring an old configuration again might fail (e.g.
 * due to slight differences in allocating shared resources when the
 * configuration is restored in a different order than when userspace set it up)
 * need to use their own restore logic.
 */</doc>
<use f='src/src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c' l='639' u='c' c='nouveau_display_resume'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c' l='1740' u='c' c='radeon_resume_kms'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c' l='1840' u='c' c='radeon_gpu_reset'/>
