Pass struct drm_i915_private * instead of struct drm_device *, and rename dev_priv to i915. v2: Rebase Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220617094817.3466584-2-jani.nikula@intel.com
15 lines
358 B
C
15 lines
358 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_MODESET_SETUP_H__
|
|
#define __INTEL_MODESET_SETUP_H__
|
|
|
|
struct drm_i915_private;
|
|
struct drm_modeset_acquire_ctx;
|
|
|
|
void intel_modeset_setup_hw_state(struct drm_i915_private *i915,
|
|
struct drm_modeset_acquire_ctx *ctx);
|
|
|
|
#endif /* __INTEL_MODESET_SETUP_H__ */
|