aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2015-09-16 21:28:50 +0300
committerDaniel Vetter <[email protected]>2015-09-23 14:39:20 +0200
commit7d316aecf883a19c9883e4dcbc058806fd25b152 (patch)
treee25d9c51173f4ae52e2ec26f88348536e551c3c0 /lib/netdev-notifier-error-inject.c
parent2db3366b18e6ee5c6cb09b5f3902bcacfa3d534e (diff)
drm/i915: Implement stolen reserved detection for ctg/elk
Finally managed to dig up enough hints as to where the stolen reserved stuff lives on ctg/elk. So add the code to decode it. This was a combination of old chipset specs, diggin up an old elk grits release with an ctg/elk AubLoad etc. This was only tested on an elk as I don't have a ctg here unfortunately. This leaves ilk as the only platform that doesn't have a way to detect this stuff. Looking at the register contents on my ilk, it might be that the elk way works there too, but I can't be sure since I can't affect the amount of reserved memory on that machine, and if I am to trust the register contents, by default it would reserve 0 bytes. v2: s/WARN_ON_ONCE/WARN_ON/ since it's in one time init code anyway (Paulo) Cc: Paulo Zanoni <[email protected]> Cc: Chris Wilson <[email protected]> Acked-by: Paulo Zanoni <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions