drm/amd/display: fix invalid function table override
authorChristian König <christian.koenig@amd.com>
Fri, 6 Jul 2018 11:46:05 +0000 (13:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jul 2018 20:36:21 +0000 (15:36 -0500)
commit0b9021972d3eef525d53076d8c7ac091e988d2e4
tree34f6777acfbc376654404d781c2c02fdbe4ad7b1
parented6b4b5559769c6c5a0fcb3fac8a9e1f4e58c4ae
drm/amd/display: fix invalid function table override

Otherwise we try to program hardware with the wrong watermark functions
when multiple DCE generations are installed in one system.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c