]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix max_vblank_count value for current display engines
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Sep 2015 14:06:45 +0000 (10:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2015 21:23:42 +0000 (17:23 -0400)
commite8019f332ffcf53cd7a8a0b7fc2a65b46df00902
tree811f19c8126353546d2ce07c4e5e4e278f5ea21a
parent886c2dd9cde52a7c733c6bf53fcb708d5cb364af
drm/amdgpu: Fix max_vblank_count value for current display engines

The value was much too low, which could cause the userspace visible
vblank counter to move backwards when the hardware counter wrapped
around.

Ported from radeon commit:
d353a0578e33c1531a51b02f6151ba0e54aefd5c

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c