enforce the Display Stream Compression
Hi,
I want to enforce the Display Stream Compression (DSC) of the Intel i915 driver in Linux Ubuntu 22.04 to test it. While inspecting the source code, I came across a query called "force_dsc_output_format" that seems useful to me. My question is more general and pertains to the procedure for setting such queries/switches. How can I set this query to True to force DSC? Do I need to modify the kernel parameter line, and if so, how? Or is there another method?
Kind regards,
Thomas
Quoted 7 lines · Thomas
I want to enforce the Display Stream Compression (DSC) of the Intel i915 driver in Linux Ubuntu 22.04 to test it. While inspecting the source code, I came across a query called "
force_dsc_output_format" that seems useful to me. My question is more general and pertains to the procedure for setting such queries/switches. How can I set this query to True to force DSC? Do I need to modify the kernel parameter line, and if so, how? Or is there another method?
There are connector debugfs files named i915_dsc_* for controlling this. They are for debug and test purposes only. See the relevant igt tests for how they're used in testing [1].
BR,
Jani.
[1] https://gitlab.freedesktop.org/drm/igt-gpu-tools
Signature · 1 line
Jani Nikula, Intel