]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix pipe enabled mask for pipe C in WM calculations
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 21 Mar 2013 11:10:44 +0000 (13:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 1 May 2013 19:17:22 +0000 (21:17 +0200)
commit2efb5eb2191697750482b342c590b0086adbfae3
treef2f98bb9ff27065b91fed5ee6b4a90365bac9296
parentf4c2406d98b15b0d798dfa1a3d9893d3727e47d4
drm/i915: Fix pipe enabled mask for pipe C in WM calculations

Fix the incorrect enabled pipes mask for pipe C in the WM calculations.

Additionally, in an effort to make the code easier to understand,
populate the mask with 1 << PIPE_[ABC] instead of raw numbers.

v2: Use 1 << PIPE_[ABC] (ickle/danvet)
v3: Pass PIPE_[ABC] to g4x_compute_wm0() (ickle)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c