mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

Add debugfs entry to dump the final tables with register save-restore information. For the workarounds, this has a format a little bit different than when the values are applied because we don't want to read the values from the HW when dumping via debugfs. For whitelist it just re-uses the print function added for when the whitelist is being built. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20230314003012.2600353-5-lucas.demarchi@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
24 lines
519 B
C
24 lines
519 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_REG_WHITELIST_
|
|
#define _XE_REG_WHITELIST_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_printer;
|
|
struct xe_hw_engine;
|
|
struct xe_reg_sr;
|
|
struct xe_reg_sr_entry;
|
|
|
|
void xe_reg_whitelist_process_engine(struct xe_hw_engine *hwe);
|
|
|
|
void xe_reg_whitelist_print_entry(struct drm_printer *p, unsigned int indent,
|
|
u32 reg, struct xe_reg_sr_entry *entry);
|
|
|
|
void xe_reg_whitelist_dump(struct xe_reg_sr *sr, struct drm_printer *p);
|
|
|
|
#endif
|