diff options
author | Ville Syrjälä <[email protected]> | 2022-12-16 02:38:07 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2023-01-13 16:55:00 +0200 |
commit | f021dfd232317dd149d3aea09f5d7b7853d00caf (patch) | |
tree | 752eda9de73e6c86170b2ff0fe3623a1247bde66 /scripts/gdb/linux/proc.py | |
parent | e485a3e6a2d22580ea70c27fc66474f5a28165fc (diff) |
drm/i915/dsb: Allow the caller to pass in the DSB buffer size
The caller should more or less know how many DSB commands it
wants to emit into the command buffer, so allow it to specify
the size of the command buffer rather than having the low level
DSB code guess it.
Technically we can emit as many as 134+1033 (for adl+ degamma +
10bit gamma) register writes but thanks to the DSB indexed register
write command we get significant space savings so the current size
estimate of 8KiB (~1024 DSB commands) is sufficient for now.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Animesh Manna <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions