[PATCH] drm/ttm: clean the redundant assignment

2022-09-21 Thread Chuansheng Liu
Clean the redundant assignment of ttm->caching in ttm_tt_init_fields(). Signed-off-by: Chuansheng Liu --- drivers/gpu/drm/ttm/ttm_tt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index d505603930a7..e110db86c870 100644 --

[PATCH v2] fbdev: defio: fix the pagelist corruption

2022-03-17 Thread Chuansheng Liu
nlisted") Cc: Thomas Zimmermann Cc: Geert Uytterhoeven Reviewed-by: Javier Martinez Canillas Reviewed-by: Thomas Zimmermann Signed-off-by: Chuansheng Liu --- drivers/video/fbdev/core/fb_defio.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/video/fb

[PATCH] fbdev: defio: fix the pagelist corruption

2022-03-16 Thread Chuansheng Liu
init all the page lists one time during initialization, it not only fixes the list corruption, but also avoids INIT_LIST_HEAD() redundantly. Fixes: 105a940416fc ("fbdev/defio: Early-out if page is already enlisted") Cc: Thomas Zimmermann Signed-off-by: Chuansheng Liu --- drivers/vide

drm/i915: Avoid accessing the stolen address when it is unavailable

2013-10-25 Thread Chuansheng Liu
In our platform, we hit the the stolen region initialization failure case, such as below log: [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0x7b00] And it causes the dev_priv->mm.stolen_base is NULL, in this case, we should avoid accessing it any more. Here is

[PATCH] drm/i915: Sync the hotplug work when device suspending

2013-07-28 Thread Chuansheng Liu
It is possible that during i915 device suspending with one pending hotplug work, one of cases is the device resume/suspend quickly. At this case, the hotplug work will be executed even after device is OFF, in Intel Android platform, it will cause system hang. Here we need sync the hotplug work i

[PATCH] drm/i915: Sync the hotplug work when device suspending

2013-07-28 Thread Chuansheng Liu
It is possible that during i915 device suspending with one pending hotplug work, one of cases is the device resume/suspend quickly. At this case, the hotplug work will be executed even after device is OFF, in Intel Android platform, it will cause system hang. Here we need sync the hotplug work i