mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
While we want to refactor intel_clock_gating.[ch] and likely move a lot of display related code to display, start off with a little intermediate change to use struct drm_device in the interface instead of struct drm_i915_private, to allow us to drop another dependency on i915_drv.h and struct drm_i915_private. Cc: Luca Coelho <luciano.coelho@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com> Link: https://patch.msgid.link/20251121112200.3435099-2-jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
15 lines
322 B
C
15 lines
322 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_CLOCK_GATING_H__
|
|
#define __INTEL_CLOCK_GATING_H__
|
|
|
|
struct drm_device;
|
|
|
|
void intel_clock_gating_init(struct drm_device *drm);
|
|
void intel_clock_gating_hooks_init(struct drm_device *drm);
|
|
|
|
#endif /* __INTEL_CLOCK_GATING_H__ */
|