FILE
intel_lvds.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/i915/display/intel_lvds.h
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2019 Intel Corporation 4 */ 5 6#ifndef __INTEL_LVDS_H__ 7#define __INTEL_LVDS_H__ 8 9#include <linux/types.h> 10 11#include "i915_reg_defs.h" 12 13enum pipe; 14struct intel_display; 15 16#ifdef I915 17bool intel_lvds_port_enabled(struct intel_display *display, 18 i915_reg_t lvds_reg, enum pipe *pipe); 19void intel_lvds_init(struct intel_display *display); 20struct intel_encoder *intel_get_lvds_encoder(struct intel_display *display); 21bool intel_is_dual_link_lvds(struct intel_display *display); 22#else 23static inline bool intel_lvds_port_enabled(struct intel_display *display, 24 i915_reg_t lvds_reg, enum pipe *pipe) 25{ 26 return false; 27} 28static inline void intel_lvds_init(struct intel_display *display) 29{ 30} 31static inline struct intel_encoder *intel_get_lvds_encoder(struct intel_display *display) 32{ 33 return NULL; 34} 35static inline bool intel_is_dual_link_lvds(struct intel_display *display) 36{ 37 return false; 38} 39#endif 40 41#endif /* __INTEL_LVDS_H__ */
~/
Read-only file preview.