]> 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)
commit54a74b4471657ce69b0514f90014b936104c5fcf
tree8969b45f24e18f3542e9e6338cebdca6d75fe2cf
parent8a404b59e63cae55c4060e6081a26dc75aed7476
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