]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: do not allocate display_mode_lib unnecessarily
authorDor Askayo <dor.askayo@gmail.com>
Sat, 4 Jan 2020 12:22:15 +0000 (14:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jan 2020 21:46:45 +0000 (16:46 -0500)
commit7953801ae56d660617628a0aa8eb6b5d4cdb3e45
tree19ab501f9c5fb67a4d64d756eedf8ef3893ab33c
parentdf967922a846f59d45e4b4d77d602ab186569129
drm/amd/display: do not allocate display_mode_lib unnecessarily

This allocation isn't required and can fail when resuming from suspend.

Bug: https://gitlab.freedesktop.org/drm/amd/issues/1009
Signed-off-by: Dor Askayo <dor.askayo@gmail.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c