OSDN Git Service

drm/i915: Move dsc rate params compute into drm
authorDavid Francis <David.Francis@amd.com>
Thu, 21 Feb 2019 20:19:59 +0000 (15:19 -0500)
committerHarry Wentland <harry.wentland@amd.com>
Tue, 5 Mar 2019 18:24:31 +0000 (13:24 -0500)
commitdc43332b7af6f7aecd6b8867caeab272d5934d60
treed35378d902524d0ae228b47885e17d4d485c9d00
parent8ff62645eab9e0883c0e90fd558b5e8a50872d64
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
drivers/gpu/drm/drm_dsc.c
drivers/gpu/drm/i915/intel_vdsc.c
include/drm/drm_dsc.h