aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2018-09-21 17:25:26 +0000
committerXinliang Liu <[email protected]>2018-09-26 03:40:06 +0000
commit0ff9f49646353ce31312411e7e7bd2281492a40e (patch)
tree37cefd6451c8b79868e37f9284742e5a213547f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/hisilicon: hibmc: Do not carry error code in HiBMC framebuffer pointer (diff)
downloadkernel-0ff9f49646353ce31312411e7e7bd2281492a40e.tar.gz
kernel-0ff9f49646353ce31312411e7e7bd2281492a40e.zip
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 70109354fed2 ("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: d1667b86795a ("drm/hisilicon/hibmc: Add support for frame buffer") Signed-off-by: John Garry <[email protected]> Reviewed-by: Xinliang Liu <[email protected]> Signed-off-by: Xinliang Liu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions