linux/drivers/gpu/drm
Mark Yao 52849e6d66 drm/rockchip: logo: fix logo memory end on free
It's mistake using logo size as logo memory end, and that would cause:

[    8.443899] BUG: Bad page state in process recovery  pfn:7dcc3
[    8.443903] page:effb3860 count:0 mapcount:3 mapping:eebdf784 index:0x15
[    8.443907] flags: 0x4004007c(referenced|uptodate|dirty|lru|active|swapbacked)
[    8.443918] page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
[    8.443922] bad because of flags:
[    8.443924] flags: 0x60(lru|active)
[    8.443930] Modules linked in:
[    8.443935] CPU: 0 PID: 170 Comm: recovery Tainted: G    B           4.4.55 #70
[    8.443939] Hardware name: Rockchip (Device Tree)
[    8.443947] [<c010f55c>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[    8.443955] [<c010b7ec>] (show_stack) from [<c03bc3a8>] (dump_stack+0x7c/0x9c)
[    8.443963] [<c03bc3a8>] (dump_stack) from [<c01eb430>] (bad_page+0xe4/0x114)
[    8.443971] [<c01eb430>] (bad_page) from [<c01eb550>] (free_pages_prepare+0xf0/0x294)
[    8.443978] [<c01eb550>] (free_pages_prepare) from [<c01ed654>] (free_hot_cold_page+0x28/0x14c)
[    8.443987] [<c01ed654>] (free_hot_cold_page) from [<c01ed954>] (free_reserved_area+0x90/0xdc)
[    8.443996] [<c01ed954>] (free_reserved_area) from [<c04749f4>] (rockchip_free_loader_memory+0xf0/0x118)
[    8.444006] [<c04749f4>] (rockchip_free_loader_memory) from [<c0475b14>] (rockchip_drm_fb_destroy+0xbc/0xd0)
[    8.444015] [<c0475b14>] (rockchip_drm_fb_destroy) from [<c04581e0>] (drm_mode_set_config_internal+0xa8/0xc4)
[    8.444024] [<c04581e0>] (drm_mode_set_config_internal) from [<c045ce24>] (drm_mode_setcrtc+0x3a8/0x464)
[    8.444032] [<c045ce24>] (drm_mode_setcrtc) from [<c044f634>] (drm_ioctl+0x278/0x43c)
[    8.444039] [<c044f634>] (drm_ioctl) from [<c023ea58>] (do_vfs_ioctl+0x564/0x6a0)
[    8.444047] [<c023ea58>] (do_vfs_ioctl) from [<c023ebe0>] (SyS_ioctl+0x4c/0x74)
[    8.444055] [<c023ebe0>] (SyS_ioctl) from [<c0107180>] (ret_fast_syscall+0x0/0x3c

Change-Id: I833a27464d9d33f6864039faa61e7500a3b936b3
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-04-18 15:43:03 +08:00
..
amd LSK 17.03 v4.4-android 2017-03-31 11:43:47 +08:00
armada
ast LSK 17.03 v4.4-android 2017-03-31 11:43:47 +08:00
atmel-hlcdc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-11-04 14:30:24 +08:00
bochs
bridge drm/bridge: analogix: fix edid not works 2017-04-17 15:04:44 +08:00
cirrus
exynos Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-12-02 20:31:31 +08:00
fsl-dcu
gma500 Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-01-10 16:07:06 +08:00
i2c FROMLIST: drm: Add HDMI 2.0 VIC support for AVI info-frames 2017-03-29 10:49:54 +08:00
i810
i915 LSK 17.03 v4.4-android 2017-03-31 11:43:47 +08:00
imx UPSTREAM: drm: Do not set connector->encoder in drivers 2016-07-06 15:25:34 +08:00
mga
mgag200 LSK 16.07 v4.4-android 2016-08-10 15:15:47 +08:00
msm Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-11-04 14:30:24 +08:00
nouveau Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-03-01 18:40:28 +08:00
omapdrm FROMLIST: drm: Add HDMI 2.0 VIC support for AVI info-frames 2017-03-29 10:49:54 +08:00
panel drm/panel: Change dlen from u16 to u8 2017-04-17 15:06:02 +08:00
qxl Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-11-04 14:30:24 +08:00
r128
radeon FROMLIST: drm: Add HDMI 2.0 VIC support for AVI info-frames 2017-03-29 10:49:54 +08:00
rcar-du
rockchip drm/rockchip: logo: fix logo memory end on free 2017-04-18 15:43:03 +08:00
savage
shmobile UPSTREAM: drm: Do not set connector->encoder in drivers 2016-07-06 15:25:34 +08:00
sis
sti FROMLIST: drm: Add HDMI 2.0 VIC support for AVI info-frames 2017-03-29 10:49:54 +08:00
tdfx
tegra FROMLIST: drm: Add HDMI 2.0 VIC support for AVI info-frames 2017-03-29 10:49:54 +08:00
tilcdc
ttm drm/ttm: Make sure BOs being swapped out are cacheable 2017-03-15 09:57:15 +08:00
udl UPSTREAM: drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all() 2017-01-03 09:16:24 +08:00
vc4
vgem
via
virtio
vmwgfx Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-11-04 14:30:24 +08:00
ati_pcigart.c
drm_agpsupport.c
drm_atomic_helper.c drm/rockchip: protect connector status with loader protect 2017-04-01 18:12:12 +08:00
drm_atomic.c drm: print framebuffer size when plane check fail 2017-02-24 10:39:20 +08:00
drm_auth.c
drm_bridge.c
drm_bufs.c
drm_cache.c drm: Restore double clflush on the last partial cacheline 2016-08-20 18:09:23 +02:00
drm_context.c
drm_crtc_helper.c UPSTREAM: drm/atomic-helper: Implement subsystem-level suspend/resume 2016-08-08 14:39:36 +08:00
drm_crtc_internal.h UPSTREAM: drm: Add callbacks for late registering 2017-01-03 09:16:58 +08:00
drm_crtc.c drm: export drm_get_connector_name to fix compile problem 2017-02-28 14:07:48 +08:00
drm_debugfs.c
drm_dma.c
drm_dp_helper.c drm/dp: move hw_mutex up the call stack 2016-04-20 15:41:55 +09:00
drm_dp_mst_topology.c drm/dp/mst: fix kernel oops when turning off secondary monitor 2017-02-23 17:43:09 +01:00
drm_drv.c UPSTREAM: drm: Make drm.debug parameter description more helpful 2017-01-09 11:09:15 +08:00
drm_edid_load.c
drm_edid.c LSK 17.03 v4.4-android 2017-03-31 11:43:47 +08:00
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c drm/fb_helper: Fix references to dev->mode_config.num_connector 2016-06-07 18:14:36 -07:00
drm_flip_work.c
drm_fops.c
drm_gem_cma_helper.c
drm_gem.c drm: Balance error path for GEM handle allocation 2016-09-15 08:27:47 +02:00
drm_global.c
drm_hashtab.c
drm_info.c
drm_internal.h
drm_ioc32.c drm: Only use compat ioctl for addfb2 on X86/IA64 2016-09-24 10:07:43 +02:00
drm_ioctl.c drm: support ignore drm ioctl permission 2016-11-07 15:00:17 +08:00
drm_irq.c FROMLIST: drm/core: Reuse the reserved member in drm_event_vblank for crtc_id. 2017-03-20 11:10:55 +08:00
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dsi.c
drm_mm.c UPSTREAM: drm/mm: avoid possible null pointer dereference 2017-01-03 14:11:34 +08:00
drm_modes.c FROMLIST: drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB 2017-03-03 11:41:02 +08:00
drm_modeset_lock.c UPSTREAM: drm: Implement drm_modeset_lock_all_ctx() 2016-08-08 14:39:25 +08:00
drm_of.c drm: of: don't mask possible_crtcs if remote-point is disabled 2017-02-05 14:24:36 +08:00
drm_panel.c
drm_pci.c
drm_plane_helper.c
drm_platform.c
drm_prime.c drm/drm-prime: cache dma_buf import context 2017-03-23 18:20:05 +08:00
drm_probe_helper.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c FROMLIST: drm: Add SCDC helpers 2017-02-27 19:07:34 +08:00
drm_sync_helper.c
drm_sysfs.c drm/sysfs: fix up memory leak problem 2017-04-12 10:08:03 +08:00
drm_trace_points.c
drm_trace.h
drm_vm.c
drm_vma_manager.c
Kconfig FROMLIST: drm: Add SCDC helpers 2017-02-27 19:07:34 +08:00
Makefile drm: scdc: correct Makefile mistake 2017-02-28 19:51:07 +08:00