]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract CFB threshold calculation
authorBen Widawsky <benjamin.widawsky@intel.com>
Thu, 19 Jun 2014 19:06:11 +0000 (12:06 -0700)
committerJani Nikula <jani.nikula@intel.com>
Thu, 3 Jul 2014 08:27:43 +0000 (11:27 +0300)
commite3259c0fb47c9a86667f975b5b0ff408b713ab93
tree8969b45f24e18f3542e9e6338cebdca6d75fe2cf
parentc8d704f0945ed882e00067d5a7e66b2f303fe34a
drm/i915: Extract CFB threshold calculation

Right now, there is no threshold (0 means fail, 1 means 1:1 compression
limit). This is to split the function/non-functional change of the next
patch.

The next patch will start to attempt to reduce the amount of CFB space
we need for dire situations. It will be contained within this function.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_gem_stolen.c