summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2019-02-21 15:19:59 -0500
committerHarry Wentland <harry.wentland@amd.com>2019-03-05 13:24:31 -0500
commitdc43332b7af6f7aecd6b8867caeab272d5934d60 (patch)
treed35378d902524d0ae228b47885e17d4d485c9d00 /include
parent8ff62645eab9e0883c0e90fd558b5e8a50872d64 (diff)
drm/i915: Move dsc rate params compute into drm
The function intel_compute_rc_parameters is part of the dsc spec and is not driver-specific. Other drm drivers might like to use it. The function is not changed; just moved and renamed. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: David Francis <David.Francis@amd.com> Signed-off-by: Harry Wentland <harry.wentland@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190221202001.28430-2-David.Francis@amd.com
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_dsc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_dsc.h b/include/drm/drm_dsc.h
index 9c26f083c70f..5a98b8dfdf43 100644
--- a/include/drm/drm_dsc.h
+++ b/include/drm/drm_dsc.h
@@ -604,5 +604,6 @@ struct drm_dsc_pps_infoframe {
void drm_dsc_dp_pps_header_init(struct drm_dsc_pps_infoframe *pps_sdp);
void drm_dsc_pps_infoframe_pack(struct drm_dsc_pps_infoframe *pps_sdp,
const struct drm_dsc_config *dsc_cfg);
+int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg);
#endif /* _DRM_DSC_H_ */