Searched refs:l2_present (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gpu.c | 281 pfdev->features.l2_present = gpu_read(pfdev, GPU_L2_PRESENT_LO); in panfrost_gpu_init_features() 282 pfdev->features.l2_present |= (u64)gpu_read(pfdev, GPU_L2_PRESENT_HI) << 32; in panfrost_gpu_init_features() 283 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features() 348 dev_info(pfdev->dev, "shader_present=0x%0llx l2_present=0x%0llx", in panfrost_gpu_init_features() 349 pfdev->features.shader_present, pfdev->features.l2_present); in panfrost_gpu_init_features() 402 if (pfdev->features.l2_present == 1) in panfrost_get_core_mask() 407 * ~(l2_present - 1) unsets all bits in l2_present except in panfrost_get_core_mask() 408 * the bottom bit. (l2_present - 2) has all the bits in in panfrost_get_core_mask() 412 core_mask = ~(pfdev->features.l2_present in panfrost_get_core_mask() [all...] |
H A D | panfrost_device.h | 62 u64 l2_present; member
|
H A D | panfrost_perfcnt.c | 294 ncoregroups = hweight64(pfdev->features.l2_present); in panfrost_perfcnt_init()
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_gpu.c | 113 ptdev->gpu_info.l2_present = gpu_read64(ptdev, GPU_L2_PRESENT); in panthor_gpu_init_info() 141 "shader_present=0x%0llx l2_present=0x%0llx tiler_present=0x%0llx", in panthor_gpu_init_info() 142 ptdev->gpu_info.shader_present, ptdev->gpu_info.l2_present, in panthor_gpu_init_info() 320 if (ptdev->gpu_info.l2_present != 1) { in panthor_gpu_l2_power_on() 323 * ~(l2_present - 1) unsets all bits in l2_present except in panthor_gpu_l2_power_on() 324 * the bottom bit. (l2_present - 2) has all the bits in in panthor_gpu_l2_power_on() 328 u64 core_mask = ~(ptdev->gpu_info.l2_present - 1) & in panthor_gpu_l2_power_on() 329 (ptdev->gpu_info.l2_present - 2); in panthor_gpu_l2_power_on()
|
H A D | panthor_fw.c | 1187 panthor_gpu_power_off(ptdev, L2, ptdev->gpu_info.l2_present, 20000); in panthor_fw_unplug()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | q_struct.h | 188 u64 l2_present:1; member 223 u64 l2_present:1;
|
/linux/include/uapi/drm/ |
H A D | panthor_drm.h | 319 /** @l2_present: Bitmask encoding the L2 caches exposed by the GPU. */ 320 __u64 l2_present; member
|