aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorDamien Lespiau <[email protected]>2015-02-03 14:25:14 +0000
committerDaniel Vetter <[email protected]>2015-02-13 23:28:30 +0100
commit2db59d530777b76f6b7944e0bfa43c9fede10b10 (patch)
tree95cb24dcc2eaf95058dde5dc2d685b86216ca008 /scripts/gcc-plugins/randomize_layout_plugin.c
parent72603ec0e2db745978a8f126307fe857f9a1ddc9 (diff)
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 <[email protected]> Reviewed-by: Paulo Zanoni <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions