]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: DSL_LINEMASK is 12 bits only on gen2
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 4 May 2012 20:18:14 +0000 (17:18 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 May 2012 11:45:33 +0000 (13:45 +0200)
commit77d63d008c4b1ee53625aed8f0eaa3ee1bfe1cfb
tree1d738d6836a254c1fb7ee3ab0c502efdd20ecee7
parent98a5006ca23270d2f106ff29e1ebcc783ab700e7
drm/i915: DSL_LINEMASK is 12 bits only on gen2

Gen3+ is 13 bits (12:0), and on gen2 only 12 (11:0). For both the high
bits are marked reserved, read-only so continue to mask them. Bit 31
is not reserved and has a meaning.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c