]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0acc139f14bd5922cecae20f6cf75963f1e897d5
treed35378d902524d0ae228b47885e17d4d485c9d00
parentc04ffe198d7abb1559b662cad1c325c03671fddc
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