mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Ville Syrjälä](/assets/img/avatar_default.png)
Rename a few functions from intel_crtc_foo_init() to intel_foo_crtc_init() so that the namespaec clearly indicates what feature/file we're talking about. I left out intel_crtc_crc_init() because the whole crc stuff uses intel_crtc_ as its namespace currently. Suggested-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221004150929.23910-1-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
30 lines
960 B
C
30 lines
960 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_DRRS_H__
|
|
#define __INTEL_DRRS_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum drrs_type;
|
|
struct drm_i915_private;
|
|
struct intel_atomic_state;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
struct intel_connector;
|
|
|
|
const char *intel_drrs_type_str(enum drrs_type drrs_type);
|
|
bool intel_drrs_is_active(struct intel_crtc *crtc);
|
|
void intel_drrs_activate(const struct intel_crtc_state *crtc_state);
|
|
void intel_drrs_deactivate(const struct intel_crtc_state *crtc_state);
|
|
void intel_drrs_invalidate(struct drm_i915_private *dev_priv,
|
|
unsigned int frontbuffer_bits);
|
|
void intel_drrs_flush(struct drm_i915_private *dev_priv,
|
|
unsigned int frontbuffer_bits);
|
|
void intel_drrs_crtc_init(struct intel_crtc *crtc);
|
|
void intel_drrs_crtc_debugfs_add(struct intel_crtc *crtc);
|
|
void intel_drrs_connector_debugfs_add(struct intel_connector *connector);
|
|
|
|
#endif /* __INTEL_DRRS_H__ */
|