]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display/dc: fix azalia workaround sw implementation bug
authorhersen wu <hersenxs.wu@amd.com>
Sat, 1 Jun 2019 22:23:38 +0000 (18:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:07 +0000 (09:34 -0500)
commit063b3d6cb7e6b0f90747419f74a6cb1c44a84aa9
tree994fdde3a2c5854a107d7a696a6aaf9854f4798e
parent09e7099c01123de1801ca074073beaad9539bf4c
drm/amd/display/dc: fix azalia workaround sw implementation bug

caller of pp_nv_set_pme_wa_enable pass incorrect pp_smu:
dc->res_pool->pp_smu. it should be dc->res_pool->pp_smu->nv_funcs.pp_smu.
with incorrect input, pp->dm = NULL. This causes system crash.

Signed-off-by: hersen wu <hersenxs.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c