diff options
author | Imre Deak <imre.deak@intel.com> | 2023-10-24 13:22:18 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-11-08 17:22:19 +0200 |
commit | 7c4631ff6233043b71b68c80f3b9f35510cdda33 (patch) | |
tree | 6ff6812625a46caa04a53e896172071261191e9a /drivers/ssb/main.c | |
parent | 503611c8a08ab660c718c295d26180e585058d95 (diff) |
drm/i915/dp: Enable DSC via the connector decompression AUX
Enable DSC using the DSC AUX device stored for this purpose in the
connector. For clarity add separate functions to enable/disable the
decompression, since these sequences will diverge more in follow-up
patches that also enable/disable DSC passthrough and on MST do the
actual enabling/disabling only for the first/last user of the given
AUX device. As a preparation for the latter refcounting change, also
pass the atomic state to the functions.
While at it set/clear only the DP_DECOMPRESSION_EN flag in the
DP_DSC_ENABLE DPCD register, preserving the reserved register bits.
Besides preserving the reserved register bits, the behavior stays as
before, as DSC is still only enabled for the first MST stream (which a
follow-up patch changes, enabling it for all streams).
v2:
- Add a helper function setting/clearing the decompression flag,
preserving the reserved register bits.
v3:
- Add separate functions to enable/disable decompression and pass the
atomic state to these.
- Add DocBook for both functions.
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> (v2)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231030155843.2251023-24-imre.deak@intel.com
Diffstat (limited to 'drivers/ssb/main.c')
0 files changed, 0 insertions, 0 deletions