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