mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
rk fb: if win close we have to set 4 area state to 0, otherwise will lead to pagefault
Signed-off-by: hjc <hjc@rock-chips.com>
This commit is contained in:
parent
1061576f98
commit
36cb2472e4
|
|
@ -1841,6 +1841,8 @@ static void rk_fb_update_reg(struct rk_lcdc_driver *dev_drv,
|
|||
} else {
|
||||
win->z_order = -1;
|
||||
win->state = 0;
|
||||
for (j = 0; j < 4; j++)
|
||||
win->area[j].state = 0;
|
||||
#if defined(CONFIG_ROCKCHIP_IOMMU)
|
||||
if (dev_drv->iommu_enabled) {
|
||||
for (j = 0; j < 4; j++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user