linux/drivers/gpu/drm/i915/display/intel_global_state.c

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2020 Intel Corporation
 */

#include <linux/string.h>

#include "i915_drv.h"
#include "intel_atomic.h"
#include "intel_display_types.h"
#include "intel_global_state.h"

struct intel_global_commit {};

static struct intel_global_commit *commit_new(void)
{}

static void __commit_free(struct kref *kref)
{}

static struct intel_global_commit *commit_get(struct intel_global_commit *commit)
{}

static void commit_put(struct intel_global_commit *commit)
{}

static void __intel_atomic_global_state_free(struct kref *kref)
{}

static void intel_atomic_global_state_put(struct intel_global_state *obj_state)
{}

static struct intel_global_state *
intel_atomic_global_state_get(struct intel_global_state *obj_state)
{}

void intel_atomic_global_obj_init(struct drm_i915_private *dev_priv,
				  struct intel_global_obj *obj,
				  struct intel_global_state *state,
				  const struct intel_global_state_funcs *funcs)
{}

void intel_atomic_global_obj_cleanup(struct drm_i915_private *dev_priv)
{}

static void assert_global_state_write_locked(struct drm_i915_private *dev_priv)
{}

static bool modeset_lock_is_held(struct drm_modeset_acquire_ctx *ctx,
				 struct drm_modeset_lock *lock)
{}

static void assert_global_state_read_locked(struct intel_atomic_state *state)
{}

struct intel_global_state *
intel_atomic_get_global_obj_state(struct intel_atomic_state *state,
				  struct intel_global_obj *obj)
{}

struct intel_global_state *
intel_atomic_get_old_global_obj_state(struct intel_atomic_state *state,
				      struct intel_global_obj *obj)
{}

struct intel_global_state *
intel_atomic_get_new_global_obj_state(struct intel_atomic_state *state,
				      struct intel_global_obj *obj)
{}

void intel_atomic_swap_global_state(struct intel_atomic_state *state)
{}

void intel_atomic_clear_global_state(struct intel_atomic_state *state)
{}

int intel_atomic_lock_global_state(struct intel_global_state *obj_state)
{}

int intel_atomic_serialize_global_state(struct intel_global_state *obj_state)
{}

bool
intel_atomic_global_state_is_serialized(struct intel_atomic_state *state)
{}

int
intel_atomic_global_state_setup_commit(struct intel_atomic_state *state)
{}

int
intel_atomic_global_state_wait_for_dependencies(struct intel_atomic_state *state)
{}

void
intel_atomic_global_state_commit_done(struct intel_atomic_state *state)
{}