mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
Pass intel_display to the encoder suspend/shutdown helpers instead of
drm_i915_private for better isolation.
v2: Pass intel_display to HAS_DISPLAY() as well, update commit log
accordingly. (Jani)
Cc: Jani Nikula <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]> # v1
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
21 lines
629 B
C
21 lines
629 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_ENCODER_H__
|
|
#define __INTEL_ENCODER_H__
|
|
|
|
struct intel_display;
|
|
struct intel_encoder;
|
|
|
|
void intel_encoder_link_check_init(struct intel_encoder *encoder,
|
|
void (*callback)(struct intel_encoder *encoder));
|
|
void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms);
|
|
void intel_encoder_link_check_flush_work(struct intel_encoder *encoder);
|
|
|
|
void intel_encoder_suspend_all(struct intel_display *display);
|
|
void intel_encoder_shutdown_all(struct intel_display *display);
|
|
|
|
#endif /* __INTEL_ENCODER_H__ */
|