xref: /aosp_15_r20/external/igt-gpu-tools/TODO.rst (revision d83cc019efdc2edc6c4b16e9034a3ceb8d35d77c)
1*d83cc019SAndroid Build Coastguard WorkerTODO
2*d83cc019SAndroid Build Coastguard Worker====
3*d83cc019SAndroid Build Coastguard Worker
4*d83cc019SAndroid Build Coastguard WorkerThis contains a list of refactoring, cleanup and getting-started tasks around
5*d83cc019SAndroid Build Coastguard Workerthe IGT library.
6*d83cc019SAndroid Build Coastguard Worker
7*d83cc019SAndroid Build Coastguard WorkerSplit up igt_kms.c/igt_kms.h
8*d83cc019SAndroid Build Coastguard Worker----------------------------
9*d83cc019SAndroid Build Coastguard Worker
10*d83cc019SAndroid Build Coastguard Workerigt_kms contains both a low-level modeset library, with thin convenience
11*d83cc019SAndroid Build Coastguard Workerwrappers around core kernel code and libdrm. These functions usually have a
12*d83cc019SAndroid Build Coastguard Workerdrmtest_ prefix (but not all of them).
13*d83cc019SAndroid Build Coastguard Worker
14*d83cc019SAndroid Build Coastguard WorkerThe other part is a higher-level library around the igt_display and related
15*d83cc019SAndroid Build Coastguard Workerstructures. Those usually come with an igt_ prefix.
16*d83cc019SAndroid Build Coastguard Worker
17*d83cc019SAndroid Build Coastguard WorkerThe task would be to split this up, and where necessary, fix up the prefixes to
18*d83cc019SAndroid Build Coastguard Workermatch the level a function operates at.
19*d83cc019SAndroid Build Coastguard Worker
20*d83cc019SAndroid Build Coastguard WorkerRemove property enums from igt_kms
21*d83cc019SAndroid Build Coastguard Worker----------------------------------
22*d83cc019SAndroid Build Coastguard Worker
23*d83cc019SAndroid Build Coastguard WorkerThese are just needless indirection for writing tests. We can keep the #defines
24*d83cc019SAndroid Build Coastguard Worker(since those strings are defacto uapi), but everything else is best handled by
25*d83cc019SAndroid Build Coastguard Workerruntime-sizing all the arrays.
26*d83cc019SAndroid Build Coastguard Worker
27*d83cc019SAndroid Build Coastguard WorkerDocumentation
28*d83cc019SAndroid Build Coastguard Worker-------------
29*d83cc019SAndroid Build Coastguard Worker
30*d83cc019SAndroid Build Coastguard Workerigt documentation is full of warnings and fairly incomplete. Pick a library, and
31*d83cc019SAndroid Build Coastguard Workerwork together with its authors to fix things up.
32