sde_dsc_helper.h 651 B

12345678910111213141516171819202122
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4. * Copyright (c) 2020 The Linux Foundation. All rights reserved.
  5. */
  6. #ifndef __SDE_DSC_HELPER_H__
  7. #define __SDE_DSC_HELPER_H__
  8. #include "msm_drv.h"
  9. #define DSC_1_1_PPS_PARAMETER_SET_ELEMENTS 88
  10. int sde_dsc_populate_dsc_config(struct drm_dsc_config *dsc, int scr_ver);
  11. int sde_dsc_populate_dsc_private_params(struct msm_display_dsc_info *dsc_info,
  12. int intf_width, bool widebus_en);
  13. int sde_dsc_create_pps_buf_cmd(struct msm_display_dsc_info *dsc_info,
  14. char *buf, int pps_id, u32 len);
  15. #endif /* __SDE_DSC_HELPER_H__ */