]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make HWS_NEEDS_PHYSICAL the exception
authorCarlos Santa <carlos.santa@intel.com>
Wed, 17 Aug 2016 19:30:56 +0000 (12:30 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 23:07:09 +0000 (16:07 -0700)
commit0145d4a845cf9c52185b66c389d54fed7fc489a6
tree4d0acdecae340933fe729ba4466af0b988c2dc67
parentf3d78b00610a479b9964cd8940d5dd1a68bd0f1a
drm/i915: Make HWS_NEEDS_PHYSICAL the exception

Make the .hws_needs_physical the exception by switching the flag
on earlier platforms since they are fewer to support. Remove the flag on
later GPUs hardware since they all use GTT hws by default.

Switch the logic as well in the driver to reflect this change

Signed-off-by: Carlos Santa <carlos.santa@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_ringbuffer.c