From: Damien Lespiau Date: Tue, 3 Feb 2015 14:25:14 +0000 (+0000) Subject: drm/i915: Detect eDRAM with the enabled bit only X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~35^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2db59d530777b76f6b7944e0bfa43c9fede10b10;p=pandora-kernel.git drm/i915: Detect eDRAM with the enabled bit only At the moment we compare the whole EDRAM_PRESENT/EDRAMCAP register value to 1 while EDRAM_PRESENT is only bit 0 (the rest may be used to describe eDRAM capabilities). To be more future proof, only look at bit 0 to detect eDRAM presence. Signed-off-by: Damien Lespiau Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed