intel_display.c (235925) | intel_display.c (254797) |
---|---|
1/* 2 * Copyright �� 2006-2007 Intel Corporation 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 11 unchanged lines hidden (view full) --- 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * DEALINGS IN THE SOFTWARE. 22 * 23 * Authors: 24 * Eric Anholt <eric@anholt.net> 25 */ 26 27#include <sys/cdefs.h> | 1/* 2 * Copyright �� 2006-2007 Intel Corporation 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 11 unchanged lines hidden (view full) --- 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * DEALINGS IN THE SOFTWARE. 22 * 23 * Authors: 24 * Eric Anholt <eric@anholt.net> 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/drm2/i915/intel_display.c 235925 2012-05-24 19:13:54Z dim $"); | 28__FBSDID("$FreeBSD: head/sys/dev/drm2/i915/intel_display.c 254797 2013-08-24 16:50:47Z dumbbell $"); |
29 30#include <dev/drm2/drmP.h> 31#include <dev/drm2/drm.h> 32#include <dev/drm2/i915/i915_drm.h> 33#include <dev/drm2/i915/i915_drv.h> 34#include <dev/drm2/i915/intel_drv.h> 35#include <dev/drm2/drm_edid.h> 36#include <dev/drm2/drm_dp_helper.h> --- 3470 unchanged lines hidden (view full) --- 3507{ 3508 struct intel_encoder *intel_encoder = to_intel_encoder(encoder); 3509 3510 drm_encoder_cleanup(encoder); 3511 free(intel_encoder, DRM_MEM_KMS); 3512} 3513 3514static bool intel_crtc_mode_fixup(struct drm_crtc *crtc, | 29 30#include <dev/drm2/drmP.h> 31#include <dev/drm2/drm.h> 32#include <dev/drm2/i915/i915_drm.h> 33#include <dev/drm2/i915/i915_drv.h> 34#include <dev/drm2/i915/intel_drv.h> 35#include <dev/drm2/drm_edid.h> 36#include <dev/drm2/drm_dp_helper.h> --- 3470 unchanged lines hidden (view full) --- 3507{ 3508 struct intel_encoder *intel_encoder = to_intel_encoder(encoder); 3509 3510 drm_encoder_cleanup(encoder); 3511 free(intel_encoder, DRM_MEM_KMS); 3512} 3513 3514static bool intel_crtc_mode_fixup(struct drm_crtc *crtc, |
3515 struct drm_display_mode *mode, | 3515 const struct drm_display_mode *mode, |
3516 struct drm_display_mode *adjusted_mode) 3517{ 3518 struct drm_device *dev = crtc->dev; 3519 3520 if (HAS_PCH_SPLIT(dev)) { 3521 /* FDI link clock is fixed at 2.7G */ 3522 if (mode->clock * 3 > IRONLAKE_FDI_FREQ * 4) 3523 return false; --- 6009 unchanged lines hidden --- | 3516 struct drm_display_mode *adjusted_mode) 3517{ 3518 struct drm_device *dev = crtc->dev; 3519 3520 if (HAS_PCH_SPLIT(dev)) { 3521 /* FDI link clock is fixed at 2.7G */ 3522 if (mode->clock * 3 > IRONLAKE_FDI_FREQ * 4) 3523 return false; --- 6009 unchanged lines hidden --- |