diff options
author | Ard Biesheuvel <[email protected]> | 2018-07-11 11:40:40 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-07-16 00:43:12 +0200 |
commit | 38ac0287b7f4f3922e25fd8f81db67f2c13d16bb (patch) | |
tree | 868b6af4d18f127dd303df09a93fe13c0f355624 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 7e1550b8f2081cccdfa9f1cf1e54cbc4d720af7f (diff) |
fbdev/efifb: Honour UEFI memory map attributes when mapping the FB
If the framebuffer address provided by the Graphics Output Protocol
(GOP) is covered by the UEFI memory map, it will tell us which memory
attributes are permitted when mapping this region. In some cases,
(KVM guest on ARM), violating this will result in loss of coherency,
which means that updates sent to the framebuffer by the guest will
not be observeable by the host, and the emulated display simply does
not work.
So if the memory map contains such a description, take the attributes
field into account, and add support for creating WT or WB mappings of
the framebuffer region.
Tested-by: Laszlo Ersek <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Acked-by: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Jones <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions