xref: /kernel/linux/linux-5.10/include/drm/drm_self_refresh_helper.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/include/drm/
18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: MIT
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2019 Google, Inc.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Authors:
68c2ecf20Sopenharmony_ci * Sean Paul <seanpaul@chromium.org>
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci#ifndef DRM_SELF_REFRESH_HELPER_H_
98c2ecf20Sopenharmony_ci#define DRM_SELF_REFRESH_HELPER_H_
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistruct drm_atomic_state;
128c2ecf20Sopenharmony_cistruct drm_crtc;
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_civoid drm_self_refresh_helper_alter_state(struct drm_atomic_state *state);
158c2ecf20Sopenharmony_civoid drm_self_refresh_helper_update_avg_times(struct drm_atomic_state *state,
168c2ecf20Sopenharmony_ci					unsigned int commit_time_ms,
178c2ecf20Sopenharmony_ci					unsigned int new_self_refresh_mask);
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciint drm_self_refresh_helper_init(struct drm_crtc *crtc);
208c2ecf20Sopenharmony_civoid drm_self_refresh_helper_cleanup(struct drm_crtc *crtc);
218c2ecf20Sopenharmony_ci#endif
22

Indexes created Thu Nov 07 10:32:03 CST 2024