]> Git Repo - linux.git/commit
drm/i915: Move number of scalers initialization to runtime init
authorNabendu Maiti <[email protected]>
Tue, 29 Nov 2016 05:53:14 +0000 (11:23 +0530)
committerAnder Conselvan de Oliveira <[email protected]>
Mon, 2 Jan 2017 12:58:02 +0000 (14:58 +0200)
commit1c74eeaf16b8901b9bdb1901e1a8533a2281845a
treef7c0b183193ad1aed3a97ca426492afbc0eac5f4
parent8e45ac1f0f86cea43cc501963cd9e65df4939b5b
drm/i915: Move number of scalers initialization to runtime init

In future patches, we require greater flexibility in describing
the number of scalers available on each CRTC. To ease that transition
we move the current assignment to intel_device_info.

Scaler structure initialisation is done if scaler is available on the CRTC.
Gen9 check is not required as on depending upon numbers of scalers we
initialize scalers or return without doing anything in skl_init_scalers.

v3: Changed skl_init_scaler to intel_crtc_init_scalers

v2: Added Chris's comments.

Signed-off-by: Nabendu Maiti <[email protected]>
Reviewed-by: Chris Wilson <[email protected]> (v2)
Reviewed-by: Ander Conselvan de Oliveira <[email protected]>
Signed-off-by: Ander Conselvan de Oliveira <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_display.c
This page took 0.054517 seconds and 4 git commands to generate.