Deleted Added
full compact
intel_drv.h (235783) intel_drv.h (254797)
1/*
2 * Copyright (c) 2006 Dave Airlie <airlied@linux.ie>
3 * Copyright (c) 2007-2008 Intel Corporation
4 * Jesse Barnes <jesse.barnes@intel.com>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

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

17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23 * IN THE SOFTWARE.
24 *
1/*
2 * Copyright (c) 2006 Dave Airlie <airlied@linux.ie>
3 * Copyright (c) 2007-2008 Intel Corporation
4 * Jesse Barnes <jesse.barnes@intel.com>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

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

17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23 * IN THE SOFTWARE.
24 *
25 * $FreeBSD: head/sys/dev/drm2/i915/intel_drv.h 235783 2012-05-22 11:07:44Z kib $
25 * $FreeBSD: head/sys/dev/drm2/i915/intel_drv.h 254797 2013-08-24 16:50:47Z dumbbell $
26 */
27
28#ifndef DRM_INTEL_DRV_H
29#define DRM_INTEL_DRV_H
30
31#include <dev/drm2/i915/i915_drm.h>
32#include <dev/drm2/i915/i915_drv.h>
33#include <dev/drm2/drm_crtc.h>

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

315extern bool intel_encoder_is_pch_edp(struct drm_encoder *encoder);
316extern int intel_plane_init(struct drm_device *dev, enum pipe pipe);
317
318/* intel_panel.c */
319extern void intel_fixed_panel_mode(struct drm_display_mode *fixed_mode,
320 struct drm_display_mode *adjusted_mode);
321extern void intel_pch_panel_fitting(struct drm_device *dev,
322 int fitting_mode,
26 */
27
28#ifndef DRM_INTEL_DRV_H
29#define DRM_INTEL_DRV_H
30
31#include <dev/drm2/i915/i915_drm.h>
32#include <dev/drm2/i915/i915_drv.h>
33#include <dev/drm2/drm_crtc.h>

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

315extern bool intel_encoder_is_pch_edp(struct drm_encoder *encoder);
316extern int intel_plane_init(struct drm_device *dev, enum pipe pipe);
317
318/* intel_panel.c */
319extern void intel_fixed_panel_mode(struct drm_display_mode *fixed_mode,
320 struct drm_display_mode *adjusted_mode);
321extern void intel_pch_panel_fitting(struct drm_device *dev,
322 int fitting_mode,
323 struct drm_display_mode *mode,
323 const struct drm_display_mode *mode,
324 struct drm_display_mode *adjusted_mode);
325extern u32 intel_panel_get_max_backlight(struct drm_device *dev);
326extern u32 intel_panel_get_backlight(struct drm_device *dev);
327extern void intel_panel_set_backlight(struct drm_device *dev, u32 level);
328extern int intel_panel_setup_backlight(struct drm_device *dev);
329extern void intel_panel_enable_backlight(struct drm_device *dev);
330extern void intel_panel_disable_backlight(struct drm_device *dev);
331extern void intel_panel_destroy_backlight(struct drm_device *dev);

--- 97 unchanged lines hidden ---
324 struct drm_display_mode *adjusted_mode);
325extern u32 intel_panel_get_max_backlight(struct drm_device *dev);
326extern u32 intel_panel_get_backlight(struct drm_device *dev);
327extern void intel_panel_set_backlight(struct drm_device *dev, u32 level);
328extern int intel_panel_setup_backlight(struct drm_device *dev);
329extern void intel_panel_enable_backlight(struct drm_device *dev);
330extern void intel_panel_disable_backlight(struct drm_device *dev);
331extern void intel_panel_destroy_backlight(struct drm_device *dev);

--- 97 unchanged lines hidden ---