linux_dsm_epyc7002/drivers/gpu/drm/hisilicon
John Garry 0ff9f49646 drm/hisilicon: hibmc: Don't overwrite fb helper surface depth
Currently the driver overwrites the surface depth provided by the fb
helper to give an invalid bpp/surface depth combination.

This has been exposed by commit 70109354fe ("drm: Reject unknown legacy
bpp and depth for drm_mode_addfb ioctl"), which now causes the driver to
fail to probe.

Fix by not overwriting the surface depth.

Fixes: d1667b8679 ("drm/hisilicon/hibmc: Add support for frame buffer")
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
Signed-off-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
2018-09-26 11:40:06 +08:00
..
hibmc drm/hisilicon: hibmc: Don't overwrite fb helper surface depth 2018-09-26 11:40:06 +08:00
kirin drm: kirin: Remove useless "Scale not support" error message 2018-06-25 18:09:38 +02:00
Kconfig drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver 2016-11-17 15:26:24 +08:00
Makefile drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver 2016-11-17 15:26:24 +08:00