]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: i830M has watermarks like i855
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 14 Dec 2013 22:38:30 +0000 (20:38 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jan 2014 16:54:20 +0000 (17:54 +0100)
commit8034e3b8b55104a36ae8b0d369900b8992a134ec
tree062f100aa6210fc9891c05c3cddc6e7924526bf0
parent3f96a3d8ddab8a508d0d9605700de46144f1593b
drm/i915: i830M has watermarks like i855

So shuffle the checks around a bit. Also give all the structs and
functions proper prefixes: i830_ for the dual-pipe mobile platforms
and i845_ for the two single-pipe desktop platforms.

Note that the max fifo value isn't actually correct for the i830M, but
since we don't frob the fifo split we don't actually need it. This is
different for some gen3 devices where we need the full fifo for self
refresh mode.

Cc: Thomas Richter <richter@rus.uni-stuttgart.de>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c