/** * DOC: Xe VRAM freq * * Provides sysfs entries for vram frequency in tile * * device/tile#/memory/freq0/max_freq - This is maximum frequency. This value is read-only as it * is the fixed fuse point P0. It is not the system * configuration. * device/tile#/memory/freq0/min_freq - This is minimum frequency. This value is read-only as it * is the fixed fuse point PN. It is not the system * configuration.
*/
/** * xe_vram_freq_sysfs_init - Initialize vram frequency sysfs component * @tile: Xe Tile object * * It needs to be initialized after the main tile component is ready * * Returns: 0 on success, negative error code on error.
*/ int xe_vram_freq_sysfs_init(struct xe_tile *tile)
{ struct xe_device *xe = tile_to_xe(tile); struct kobject *kobj; int err;
if (xe->info.platform != XE_PVC) return 0;
kobj = kobject_create_and_add("memory", tile->sysfs); if (!kobj) return -ENOMEM;
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.