diff options
| author | Thomas Zimmermann <[email protected]> | 2024-04-19 10:29:01 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-05-02 11:33:15 +0200 |
| commit | 150f431a08317e0e0363a7f9147b6246d3b40ba6 (patch) | |
| tree | 8f691901d5ef6d81a57919e0b2f6489f79e91b08 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 747bda7bb5b1644a06734900326847a5d353c448 (diff) | |
drm/fbdev: Add fbdev-shmem
Add an fbdev emulation for SHMEM-based memory managers. The code is
similar to fbdev-generic, but does not require an additional shadow
buffer for mmap(). Fbdev-shmem operates directly on the buffer object's
SHMEM pages. Fbdev's deferred-I/O mechanism updates the hardware state
on write operations.
The memory pages of GEM SHMEM cannot be detected by fbdefio. Therefore
fbdev-shmem implements the .get_page() hook in struct fb_deferred_io.
The fbdefio helpers call this hook to retrieve the page directly from
fbdev-shmem instead of trying to detect it internally.
v3:
- clarify on get_page mechanism in commit description (Javier)
v2:
- use drm_driver_legacy_fb_format() (Geert)
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions