]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: preserve the PBC bits of TRANS_CHICKEN2
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 8 Apr 2013 18:48:08 +0000 (15:48 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:43:31 +0000 (09:43 +0200)
commit8aff1349e772f161b9455ee817b6c0fce86458a1
tree45731ccd767235042da115ae002c8e6fba8a96df
parent587dff326ca92fcd1626277c9d546adc4143d6db
drm/i915: preserve the PBC bits of TRANS_CHICKEN2

Bits 30 and 24:0 are PBC, so don't zero them. Some of the other bits
are being zeroed, but I couldn't find a reason for this, so leave them
as they are for now to avoid regressions.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
[danvet: Delete the redudant #define that Imre spotted in his review.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c