summaryrefslogtreecommitdiff
path: root/include/drm/drm_self_refresh_helper.h
blob: 397a583ccca7ebd68d8f00ebb43a88662c1f1161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: MIT
/*
 * Copyright (C) 2019 Google, Inc.
 *
 * Authors:
 * Sean Paul <seanpaul@chromium.org>
 */
#ifndef DRM_SELF_REFRESH_HELPER_H_
#define DRM_SELF_REFRESH_HELPER_H_

struct drm_atomic_state;
struct drm_crtc;

void drm_self_refresh_helper_alter_state(struct drm_atomic_state *state);

int drm_self_refresh_helper_init(struct drm_crtc *crtc,
				 unsigned int entry_delay_ms);

void drm_self_refresh_helper_cleanup(struct drm_crtc *crtc);
#endif