]> 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)
commit6a4a0f10cfb7e807e9132e8a39905a60c711114a
treef2f98bb9ff27065b91fed5ee6b4a90365bac9296
parentf917e7f90599b294ba75bf40d2aa57c4c0ff3918
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