Deleted Added
full compact
intel_tv.c (235783) intel_tv.c (254797)
1/*
2 * Copyright �� 2006-2008 Intel Corporation
3 * Jesse Barnes <jesse.barnes@intel.com>
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,

--- 17 unchanged lines hidden (view full) ---

26 *
27 */
28
29/** @file
30 * Integrated TV-out support for the 915GM and 945GM.
31 */
32
33#include <sys/cdefs.h>
1/*
2 * Copyright �� 2006-2008 Intel Corporation
3 * Jesse Barnes <jesse.barnes@intel.com>
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,

--- 17 unchanged lines hidden (view full) ---

26 *
27 */
28
29/** @file
30 * Integrated TV-out support for the 915GM and 945GM.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/drm2/i915/intel_tv.c 235783 2012-05-22 11:07:44Z kib $");
34__FBSDID("$FreeBSD: head/sys/dev/drm2/i915/intel_tv.c 254797 2013-08-24 16:50:47Z dumbbell $");
35
36#include <dev/drm2/drmP.h>
37#include <dev/drm2/drm.h>
38#include <dev/drm2/drm_crtc.h>
39#include <dev/drm2/drm_edid.h>
40#include <dev/drm2/i915/i915_drm.h>
41#include <dev/drm2/i915/i915_drv.h>
42#include <dev/drm2/i915/intel_drv.h>

--- 798 unchanged lines hidden (view full) ---

841 < 1000)
842 return MODE_OK;
843
844 return MODE_CLOCK_RANGE;
845}
846
847
848static bool
35
36#include <dev/drm2/drmP.h>
37#include <dev/drm2/drm.h>
38#include <dev/drm2/drm_crtc.h>
39#include <dev/drm2/drm_edid.h>
40#include <dev/drm2/i915/i915_drm.h>
41#include <dev/drm2/i915/i915_drv.h>
42#include <dev/drm2/i915/intel_drv.h>

--- 798 unchanged lines hidden (view full) ---

841 < 1000)
842 return MODE_OK;
843
844 return MODE_CLOCK_RANGE;
845}
846
847
848static bool
849intel_tv_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode,
849intel_tv_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode,
850 struct drm_display_mode *adjusted_mode)
851{
852 struct drm_device *dev = encoder->dev;
853 struct drm_mode_config *drm_config = &dev->mode_config;
854 struct intel_tv *intel_tv = enc_to_intel_tv(encoder);
855 const struct tv_mode *tv_mode = intel_tv_mode_find(intel_tv);
856 struct drm_encoder *other_encoder;
857

--- 752 unchanged lines hidden ---
850 struct drm_display_mode *adjusted_mode)
851{
852 struct drm_device *dev = encoder->dev;
853 struct drm_mode_config *drm_config = &dev->mode_config;
854 struct intel_tv *intel_tv = enc_to_intel_tv(encoder);
855 const struct tv_mode *tv_mode = intel_tv_mode_find(intel_tv);
856 struct drm_encoder *other_encoder;
857

--- 752 unchanged lines hidden ---