]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Shift driver's HWSP usage out of reserved range
authorThomas Daniel <thomas.daniel@intel.com>
Wed, 18 Feb 2015 11:48:21 +0000 (11:48 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Feb 2015 10:50:32 +0000 (11:50 +0100)
commit9d3484094c0347cad753ed2f4f94409e0896d144
tree78d58987187fded7256d105ca9582acabd0f07c4
parentf0d1bdcef2ccbb1e4c66f8f55d8d673945ffd98e
drm/i915: Shift driver's HWSP usage out of reserved range

As of Gen6, the general purpose area of the hardware status page has shrunk and
now begins at dword 0x30.  i915 driver uses dword 0x20 to store the seqno which
is now reserved.  So shift our HWSP dwords up into the general purpose range
before this bites us.

Note that all available documentation just says this is reserved
without going into details about what it's used for.

Signed-off-by: Thomas Daniel <thomas.daniel@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
[danvet: Add clarification from Thomas that unfortunately Bspec is
silent on what "reserverd" precisely means.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.h