]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix watermark calculation
authorAlvin Lee <Alvin.Lee2@amd.com>
Wed, 29 Jun 2022 16:35:12 +0000 (12:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Oct 2022 21:32:55 +0000 (17:32 -0400)
commit428f70cb66401fd231136a5f3569cb19fbe9c0e0
tree12a6f30b31c9be67cccf798cd7931d8bb2492615
parentf09c3555fdcd499950f855326a8d297a5fa3695d
drm/amd/display: Fix watermark calculation

Watermark calculation was incorrect due to missing brackets.

Fixes: ac6356e3f3f5 ("drm/amd/display: Add SubVP required code")
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c