]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitfeb56b934463a7339ebc3c3cf2497c7958fe5a60
tree062f100aa6210fc9891c05c3cddc6e7924526bf0
parent3a77c4c441d2bcc2b1e27d8aabee0c57aed66ed3
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