Merge tag 'jfs-6.6' of github.com:kleikamp/linux-shaggy
[linux-2.6-microblaze.git] / drivers / gpu / drm / i915 / display / intel_dp_aux.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020-2021 Intel Corporation
4  */
5
6 #ifndef __INTEL_DP_AUX_H__
7 #define __INTEL_DP_AUX_H__
8
9 #include <linux/types.h>
10
11 enum aux_ch;
12 struct drm_i915_private;
13 struct intel_dp;
14 struct intel_encoder;
15
16 void intel_dp_aux_fini(struct intel_dp *intel_dp);
17 void intel_dp_aux_init(struct intel_dp *intel_dp);
18
19 enum aux_ch intel_dp_aux_ch(struct intel_encoder *encoder);
20
21 void intel_dp_aux_irq_handler(struct drm_i915_private *i915);
22 u32 intel_dp_aux_pack(const u8 *src, int src_bytes);
23
24 #endif /* __INTEL_DP_AUX_H__ */