diff options
author | Alexey Brodkin | 2016-03-28 13:36:38 +0200 |
---|---|---|
committer | Vineet Gupta | 2016-04-07 11:29:09 +0200 |
commit | e5e0a65cd20a7a892a87e6bd73bdc3d83726d725 (patch) | |
tree | 52b6bbcef2d992c6127ab156ff59567dfae780f9 /arch/arc/boot/dts/axs10x_mb.dtsi | |
parent | ARC: Don't source drivers/pci/pcie/Kconfig ourselves (diff) | |
download | kernel-qcow2-linux-e5e0a65cd20a7a892a87e6bd73bdc3d83726d725.tar.gz kernel-qcow2-linux-e5e0a65cd20a7a892a87e6bd73bdc3d83726d725.tar.xz kernel-qcow2-linux-e5e0a65cd20a7a892a87e6bd73bdc3d83726d725.zip |
arc: Add our own implementation of fb_pgprotect()
During mmaping of frame-buffer pages to user-space
fb_protect() is called to set proper page settings.
In case of ARC we need to mark pages that are mmaped to
user as uncached because of 2 reasons:
* Huge amount of data if passing through data cache will
thrash cache a lot making cache almost useless for other
less traffic hungry processes.
* Data written by user in FB will be immediately available for
hardware (such as PGU etc) without requirements to flush data
cache regularly.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: linux-snps-arc@lists.infradead.org
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot/dts/axs10x_mb.dtsi')
0 files changed, 0 insertions, 0 deletions