]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit51cea1f469ad473c8d8b7d4a227640b8c02bf167
treef2f98bb9ff27065b91fed5ee6b4a90365bac9296
parent3a359f0b21ab218c1bf7a6a1b638b6fd143d0b99
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