From: Damien Lespiau Date: Mon, 29 Oct 2012 15:24:49 +0000 (+0000) Subject: drm/i915: Flush using only the correct base address register X-Git-Tag: v3.8-rc1~82^2~192^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14f86147a90cb47db7ccfd90bf14f830fb34fba9;p=pandora-kernel.git drm/i915: Flush using only the correct base address register We were writing DSP_ADDR and DSP_SURF unconditionally. This did not trigger an unclaimed write before HSW as the address of DSP_ADDR has been repurposed as DSP_LINOFF. On HSW, though, DSP_LINOFF has been removed and then writting to it triggers an unclaimed write. This patch writes to DSP_ADDR or DSP_SURF to flush the display plane configuration depending on the gen we're running on. Signed-off-by: Damien Lespiau Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed