History

drm/etnaviv: Expose a few more chipspecs to userspace

These ones will be needed to make use fo the NN and TP units in the NPUs based on Vivante IP. Also fix the number of NN cores in the VIPNano-qi.

Tomeu Vizoso committed 2 years ago

Commit 1dccdba1 parent b0da0854 files · +71 −0Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/drm/etnaviv_drm.h+5−0
@@ -77,6 +77,11 @@ struct drm_etnaviv_timespec { · 76 unmodified lines
7777 #define ETNAVIV_PARAM_GPU_PRODUCT_ID 0x1c
7878 #define ETNAVIV_PARAM_GPU_CUSTOMER_ID 0x1d
7979 #define ETNAVIV_PARAM_GPU_ECO_ID 0x1e
80+#define ETNAVIV_PARAM_GPU_NN_CORE_COUNT 0x1f
81+#define ETNAVIV_PARAM_GPU_NN_MAD_PER_CORE 0x20
82+#define ETNAVIV_PARAM_GPU_TP_CORE_COUNT 0x21
83+#define ETNAVIV_PARAM_GPU_ON_CHIP_SRAM_SIZE 0x22
84+#define ETNAVIV_PARAM_GPU_AXI_SRAM_SIZE 0x23
8085
8186 #define ETNA_MAX_PIPES 4
8287

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t