linux/drivers/gpu/drm/xe/xe_guc_hwconfig.c

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

#include "xe_guc_hwconfig.h"

#include <drm/drm_managed.h>
#include <drm/drm_print.h>

#include "abi/guc_actions_abi.h"
#include "xe_bo.h"
#include "xe_device.h"
#include "xe_gt.h"
#include "xe_guc.h"
#include "xe_map.h"

static int send_get_hwconfig(struct xe_guc *guc, u64 ggtt_addr, u32 size)
{}

static int guc_hwconfig_size(struct xe_guc *guc, u32 *size)
{}

static int guc_hwconfig_copy(struct xe_guc *guc)
{}

int xe_guc_hwconfig_init(struct xe_guc *guc)
{}

u32 xe_guc_hwconfig_size(struct xe_guc *guc)
{}

void xe_guc_hwconfig_copy(struct xe_guc *guc, void *dst)
{}

void xe_guc_hwconfig_dump(struct xe_guc *guc, struct drm_printer *p)
{}

/*
 * Lookup a specific 32-bit attribute value in the GuC's hwconfig table.
 */
int xe_guc_hwconfig_lookup_u32(struct xe_guc *guc, u32 attribute, u32 *val)
{}