linux_dsm_epyc7002/drivers/gpu
Roman Li 1894478ad1 drm/amd/display: Fill plane attrs only for valid pxl format
[Why]
In fill_plane_buffer_attributes() we calculate chroma/luma
assuming that the surface_pixel_format is always valid.
If it's not the case, there's a risk of divide by zero error.

[How]
Check if format valid before calculating pixel format attributes

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-05-24 12:20:50 -05:00
..
drm drm/amd/display: Fill plane attrs only for valid pxl format 2019-05-24 12:20:50 -05:00
host1x gpu: host1x: Program stream ID to bypass without SMMU 2019-04-11 17:40:35 +02:00
ipu-v3 gpu: ipu-v3: dp: fix CSC handling 2019-04-23 14:54:16 +02:00
vga - qxl: Remove the conflicting framebuffers earlier 2019-03-14 11:37:46 +10:00
Makefile