2019-04-05 14:00:12 +03:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_SDVO_H__
|
|
|
|
#define __INTEL_SDVO_H__
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
2022-01-27 15:43:34 -08:00
|
|
|
#include "i915_reg_defs.h"
|
2019-04-05 14:00:12 +03:00
|
|
|
|
|
|
|
enum pipe;
|
2019-08-28 22:12:12 +05:30
|
|
|
enum port;
|
2025-02-12 18:36:37 +02:00
|
|
|
struct intel_display;
|
2019-04-05 14:00:12 +03:00
|
|
|
|
2023-09-12 14:06:44 +03:00
|
|
|
#ifdef I915
|
2025-02-12 18:36:37 +02:00
|
|
|
bool intel_sdvo_port_enabled(struct intel_display *display,
|
2019-04-05 14:00:12 +03:00
|
|
|
i915_reg_t sdvo_reg, enum pipe *pipe);
|
2025-02-12 18:36:37 +02:00
|
|
|
bool intel_sdvo_init(struct intel_display *display,
|
2019-04-05 14:00:12 +03:00
|
|
|
i915_reg_t reg, enum port port);
|
2023-09-12 14:06:44 +03:00
|
|
|
#else
|
2025-02-12 18:36:37 +02:00
|
|
|
static inline bool intel_sdvo_port_enabled(struct intel_display *display,
|
2023-09-12 14:06:44 +03:00
|
|
|
i915_reg_t sdvo_reg, enum pipe *pipe)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2025-02-12 18:36:37 +02:00
|
|
|
static inline bool intel_sdvo_init(struct intel_display *display,
|
2023-09-12 14:06:44 +03:00
|
|
|
i915_reg_t reg, enum port port)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
#endif
|
2019-04-05 14:00:12 +03:00
|
|
|
|
|
|
|
#endif /* __INTEL_SDVO_H__ */
|