My english is poor
A language that doesn’t affect the way you think about programming, is not worth knowing.
– Alan J. Perlis, Recipient of 1966 Turing Award
词汇: nightly
最近在两个地方看到nightly这个词:
drm-tip或drm/drm-tip (我也不知道这两个仓库有什么区别,除了它们的Owner不同)
DRM current development and nightly trees
Image Format in OpenGL
C++ Template
drm_gpu_scheduler
Task State
stateDiagram-v2
R: running
S: sleeping
D: disk sleep
T: stopped
t: tracing stop
X: dead
Z: zombie
P: parked
I: idle
R --> S: schedule_timeout()
R --> D: Wait for Disk I/O
R --> T: SIGTSTP
R --> t: gdb/strace
S --> R: wake_up_process()
D --> R: I/O Completed
T --> R: SIGCONT
T --> t: gdb/strace
T --> Z: SIGKILL But Sth Wrong with Its Parent
R --> Z: Exit But Sth Wrong with Its Parent
t --> T: Quit gdb
Buffer Sharing and Synchronization
DMA-BUF
flowchart BT
App@{ img: "/images/dma-buf/window-content.png", label: "vram for rendering", pos: "d", w: 60, h: 60, constraint: "on" }
Window@{ img: "/images/dma-buf/window-frame.png", label: "vram for window frame", pos: "d", w: 60, h: 60, constraint: "on" }
subgraph app [glxgears]
BO_10
end
subgraph x11 [Xorg]
BO_20
BO_11
end
subgraph compositor [kwin_x11]
BO_21
end
App ~~~ BO_10 --Exporter--> App
App --Importer--> BO_11
Window ~~~ BO_20 --Exporter--> Window
Window --Importer--> BO_21