diff options
author | David Francis <David.Francis@amd.com> | 2019-02-21 21:19:59 +0100 |
---|---|---|
committer | Harry Wentland <harry.wentland@amd.com> | 2019-03-05 19:24:31 +0100 |
commit | dc43332b7af6f7aecd6b8867caeab272d5934d60 (patch) | |
tree | d35378d902524d0ae228b47885e17d4d485c9d00 /include/drm/drm_dsc.h | |
parent | drm: fix spelling mistake "intead" -> "instead" (diff) | |
download | linux-dc43332b7af6f7aecd6b8867caeab272d5934d60.tar.xz linux-dc43332b7af6f7aecd6b8867caeab272d5934d60.zip |
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/drm/drm_dsc.h')
-rw-r--r-- | include/drm/drm_dsc.h | 1 |
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_ */ |