linux/drivers/gpu/drm/i915/gt/intel_gt_sysfs.c

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

#include <drm/drm_device.h>
#include <linux/device.h>
#include <linux/kobject.h>
#include <linux/printk.h>
#include <linux/sysfs.h>

#include "i915_drv.h"
#include "i915_sysfs.h"
#include "intel_gt.h"
#include "intel_gt_print.h"
#include "intel_gt_sysfs.h"
#include "intel_gt_sysfs_pm.h"
#include "intel_gt_types.h"
#include "intel_rc6.h"

bool is_object_gt(struct kobject *kobj)
{}

struct intel_gt *intel_gt_sysfs_get_drvdata(struct kobject *kobj,
					    const char *name)
{}

static struct kobject *gt_get_parent_obj(struct intel_gt *gt)
{}

static ssize_t id_show(struct kobject *kobj,
		       struct kobj_attribute *attr,
		       char *buf)
{}
static struct kobj_attribute attr_id =;

static struct attribute *id_attrs[] =;
ATTRIBUTE_GROUPS();

/* A kobject needs a release() method even if it does nothing */
static void kobj_gt_release(struct kobject *kobj)
{}

static const struct kobj_type kobj_gt_type =;

void intel_gt_sysfs_register(struct intel_gt *gt)
{}

void intel_gt_sysfs_unregister(struct intel_gt *gt)
{}