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