get bmp file data from bootargs "kernel_logo=xxxxxx", decoder bmp
file to framebuffer.
now support rle 8bit bmp files and 24bit bmp files.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
ESP8089 driver update to V1.9 (11272014).
Update the V2.3 esp_prealloc program.
This update is mainly as follows:
1.To increase the new MAC address and MAC address customized version of the support;
2.Enhance the robustness of the code;
3.The increase of pure drive consistency under Linux and android;
4.Enhance compatibility of non-standard AP;
5.Improve the stability of the P2P mode.
Due to some time we want to know which buffer vop scaning, use "io"
cammand to dump buffer is too complex, so we add a sys node to help
buffer dump.
how to use it:
- echo bin > /sys/class/graphics/fb0/disp_info
it will create bin file at /data/xxx.bin
- or echo bmp > /sys/class/graphics/fb0/disp_info
it will create bmp file at /data/xxx.bmp,
this file is normal bmp file.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
There are two thread will update the win config,
one is update_regs handler, another is hdmi hotplug
thread, win config maybe modify by another thread
unexpectly, then vop scan umap address, cause iommu
crash, so we need use a mutex to protect win config.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
dw_mci write cmd index to CMD register to trigger sending cmd by BIU.
However, if device fall into panic holding cmd/data line to low level cause BIU
cannnot send out cmd forever. So no cmd_done_int will come. AND, cmd response timeout
only valid after cmd been sent. Nothing to break this loop, we need a s/w recovery from
STATE_SENDING_CMD to STATE_IDLE, and the pending one reported as -ETIMEOUT, let caller
decide howto again.
Reported-by: roger.hu <hwg@rock-chips.com>
Signed-off-by: lintao <lintao@rock-chips.com>
Reviewed-and-tested-by: roger.hu <hwg@rock-chips.com>
1.Audi vpu_combo contain hevc and vpu,it need to switch
when hevc on or vpu on,but there was a issue could cause
hevc or vpu failed,so current vpu driver disable/enable
iommu each frame to avoid failed,for these,a lot of log
produced,so change dev_info to dev_dbg when iommu attach/deattach
2.AudiB has fixed the vop read problem,we use soc_is_rk3126 or
soc_is_rk3128 instead of cpu_is_rk312x to identify Audi
This patch adds the support of security labels for f2fs, which will be used
by Linus Security Models (LSMs).
Quote from http://en.wikipedia.org/wiki/Linux_Security_Modules:
"Linux Security Modules (LSM) is a framework that allows the Linux kernel to
support a variety of computer security models while avoiding favoritism toward
any single security implementation. The framework is licensed under the terms of
the GNU General Public License and is standard part of the Linux kernel since
Linux 2.6. AppArmor, SELinux, Smack and TOMOYO Linux are the currently accepted
modules in the official kernel.".
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 8ae8f1627f)
I found a bug when testing power-off-recovery as follows.
[Bug Scenario]
1. create a file
2. fsync the file
3. reboot w/o any sync
4. try to recover the file
- found its fsync mark
- found its dentry mark
: try to recover its dentry
- get its file name
- get its parent inode number
: here we got zero value
The reason why we get the wrong parent inode number is that we didn't
synchronize the inode page with its newly created inode information perfectly.
Especially, previous f2fs stores fi->i_pino and writes it to the cached
node page in a wrong order, which incurs the zero-valued i_pino during the
recovery.
So, this patch modifies the creation flow to fix the synchronization order of
inode page with its inode.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 44a83ff6a8)