mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 08:55:05 +07:00
379bc10023
Add a new subdirectory for display code, and start off by moving modesetting output/encoder code. Judging by the include changes, this is a surprisingly clean operation. v2: - move intel_sdvo_regs.h too - use tabs for Makefile file lists and sort them Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190613084416.6794-2-jani.nikula@intel.com
28 lines
871 B
C
28 lines
871 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_GMBUS_H__
|
|
#define __INTEL_GMBUS_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_i915_private;
|
|
struct i2c_adapter;
|
|
|
|
int intel_gmbus_setup(struct drm_i915_private *dev_priv);
|
|
void intel_gmbus_teardown(struct drm_i915_private *dev_priv);
|
|
bool intel_gmbus_is_valid_pin(struct drm_i915_private *dev_priv,
|
|
unsigned int pin);
|
|
int intel_gmbus_output_aksv(struct i2c_adapter *adapter);
|
|
|
|
struct i2c_adapter *
|
|
intel_gmbus_get_adapter(struct drm_i915_private *dev_priv, unsigned int pin);
|
|
void intel_gmbus_set_speed(struct i2c_adapter *adapter, int speed);
|
|
void intel_gmbus_force_bit(struct i2c_adapter *adapter, bool force_bit);
|
|
bool intel_gmbus_is_forced_bit(struct i2c_adapter *adapter);
|
|
void intel_gmbus_reset(struct drm_i915_private *dev_priv);
|
|
|
|
#endif /* __INTEL_GMBUS_H__ */
|