From: Pradeep Bhat Date: Tue, 4 Nov 2014 17:06:38 +0000 (+0000) Subject: drm/i915/skl: Read the Memory Latency Values for WM computation X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~64^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2af30a5c40bff540f13106961662d000b1bc8cd7;p=pandora-kernel.git drm/i915/skl: Read the Memory Latency Values for WM computation This patch reads the memory latency values for all the 8 levels for SKL. These values are needed for the Watermark computation. v2: Incorporated the review comments from Damien on register indentation. v3: Updated the code to use the sandybridge_pcode_read for reading memory latencies for GEN9. v4: Don't put gen 9 in the middle of an ordered list of ifs (Damien) v5: take the rps.hw_lock around sandybridge_pcode_read() (Damien) v6: Use gen >= 9 in the pcode_read() function for data1. Move the defines near the gen6 ones and prefix them with PCODE. Remove unused timeout define (the pcode_read() code has a larger timeout already). Reviewed-by: Ville Syrjälä Signed-off-by: Pradeep Bhat Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed