]> git.karo-electronics.de Git - linux-beck.git/commit
drm/amdgpu/uvd: reduce IB parsing overhead on UVD5+ (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Nov 2016 21:34:29 +0000 (16:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2016 20:08:47 +0000 (15:08 -0500)
commit042eb9106000adbbc6960b9dbdd30a67acf5a2ed
treed35590c4dd13895c2c2d0b8d093a4aeece55b0db
parent80983e4df7196b0f300242bcd8e9df6370869438
drm/amdgpu/uvd: reduce IB parsing overhead on UVD5+ (v2)

UVD 5 and newer do not have the same placement limitations
as older chips, so skip the first pass since it's just
overhead on chips where we don't have to force placement.

v2: fix inverted logic

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c