Deleted Added
full compact
intel_panel.c (235783) intel_panel.c (254797)
1/*
2 * Copyright �� 2006-2010 Intel Corporation
3 * Copyright (c) 2006 Dave Airlie <airlied@linux.ie>
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,

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

24 * Authors:
25 * Eric Anholt <eric@anholt.net>
26 * Dave Airlie <airlied@linux.ie>
27 * Jesse Barnes <jesse.barnes@intel.com>
28 * Chris Wilson <chris@chris-wilson.co.uk>
29 */
30
31#include <sys/cdefs.h>
1/*
2 * Copyright �� 2006-2010 Intel Corporation
3 * Copyright (c) 2006 Dave Airlie <airlied@linux.ie>
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,

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

24 * Authors:
25 * Eric Anholt <eric@anholt.net>
26 * Dave Airlie <airlied@linux.ie>
27 * Jesse Barnes <jesse.barnes@intel.com>
28 * Chris Wilson <chris@chris-wilson.co.uk>
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/drm2/i915/intel_panel.c 235783 2012-05-22 11:07:44Z kib $");
32__FBSDID("$FreeBSD: head/sys/dev/drm2/i915/intel_panel.c 254797 2013-08-24 16:50:47Z dumbbell $");
33
34#include <dev/drm2/drmP.h>
35#include <dev/drm2/drm.h>
36#include <dev/drm2/i915/i915_drm.h>
37#include <dev/drm2/i915/intel_drv.h>
38
39#define PCI_LBPC 0xf4 /* legacy/combination backlight modes */
40

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

54
55 adjusted_mode->clock = fixed_mode->clock;
56}
57
58/* adjusted_mode has been preset to be the panel's fixed mode */
59void
60intel_pch_panel_fitting(struct drm_device *dev,
61 int fitting_mode,
33
34#include <dev/drm2/drmP.h>
35#include <dev/drm2/drm.h>
36#include <dev/drm2/i915/i915_drm.h>
37#include <dev/drm2/i915/intel_drv.h>
38
39#define PCI_LBPC 0xf4 /* legacy/combination backlight modes */
40

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

54
55 adjusted_mode->clock = fixed_mode->clock;
56}
57
58/* adjusted_mode has been preset to be the panel's fixed mode */
59void
60intel_pch_panel_fitting(struct drm_device *dev,
61 int fitting_mode,
62 struct drm_display_mode *mode,
62 const struct drm_display_mode *mode,
63 struct drm_display_mode *adjusted_mode)
64{
65 struct drm_i915_private *dev_priv = dev->dev_private;
66 int x, y, width, height;
67
68 x = y = width = height = 0;
69
70 /* Native modes don't need fitting */

--- 257 unchanged lines hidden ---
63 struct drm_display_mode *adjusted_mode)
64{
65 struct drm_i915_private *dev_priv = dev->dev_private;
66 int x, y, width, height;
67
68 x = y = width = height = 0;
69
70 /* Native modes don't need fitting */

--- 257 unchanged lines hidden ---