mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
drm/mipi-dsi: add mipi_dsi_compression_mode_multi
mipi_dsi_compression_mode_multi can help with error handling. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20241006-starqltechn_integration_upstream-v6-1-8336b9cd6c34@gmail.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20241006-starqltechn_integration_upstream-v6-1-8336b9cd6c34@gmail.com
This commit is contained in:
parent
655b92ca60
commit
975bdea8c4
@ -1520,6 +1520,22 @@ void mipi_dsi_compression_mode_ext_multi(struct mipi_dsi_multi_context *ctx,
|
||||
}
|
||||
EXPORT_SYMBOL(mipi_dsi_compression_mode_ext_multi);
|
||||
|
||||
/**
|
||||
* mipi_dsi_compression_mode_multi() - enable/disable DSC on the peripheral
|
||||
* @dsi: DSI peripheral device
|
||||
* @enable: Whether to enable or disable the DSC
|
||||
*
|
||||
* Enable or disable Display Stream Compression on the peripheral using the
|
||||
* default Picture Parameter Set and VESA DSC 1.1 algorithm.
|
||||
*/
|
||||
void mipi_dsi_compression_mode_multi(struct mipi_dsi_multi_context *ctx,
|
||||
bool enable)
|
||||
{
|
||||
return mipi_dsi_compression_mode_ext_multi(ctx, enable,
|
||||
MIPI_DSI_COMPRESSION_DSC, 0);
|
||||
}
|
||||
EXPORT_SYMBOL(mipi_dsi_compression_mode_multi);
|
||||
|
||||
/**
|
||||
* mipi_dsi_dcs_nop_multi() - send DCS NOP packet
|
||||
* @ctx: Context for multiple DSI transactions
|
||||
|
@ -280,6 +280,8 @@ void mipi_dsi_compression_mode_ext_multi(struct mipi_dsi_multi_context *ctx,
|
||||
bool enable,
|
||||
enum mipi_dsi_compression_algo algo,
|
||||
unsigned int pps_selector);
|
||||
void mipi_dsi_compression_mode_multi(struct mipi_dsi_multi_context *ctx,
|
||||
bool enable);
|
||||
void mipi_dsi_picture_parameter_set_multi(struct mipi_dsi_multi_context *ctx,
|
||||
const struct drm_dsc_picture_parameter_set *pps);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user