/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. * Copyright (C) 2013 Red Hat * Author: Rob Clark <robdclark@gmail.com>
*/
/** * ktime_compare_safe - compare two ktime structures * This macro is similar to the standard ktime_compare() function, but * attempts to also handle ktime overflows. * @A: First ktime value * @B: Second ktime value * Returns: -1 if A < B, 0 if A == B, 1 if A > B
*/ #define ktime_compare_safe(A, B) \
ktime_compare(ktime_sub((A), (B)), ktime_set(0, 0))
/* reference count bandwidth requests, so we know when we can * release bandwidth. Each atomic update increments, and frame- * done event decrements. Additionally, for video mode, the * reference is incremented when crtc is enabled, and decremented * when disabled.
*/
atomic_t bandwidth_ref; struct icc_path *path[2];
u32 num_paths;
};
/* Global private object state for tracking resources that are shared across * multiple kms objects (planes/crtcs/etc).
*/ struct dpu_global_state { struct drm_private_state base;
/** * DPU info management functions * These functions/definitions allow for building up a 'dpu_info' structure * containing one or more "key=value\n" entries.
*/ #define DPU_KMS_INFO_MAX_SIZE 4096
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.