diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-07 02:19:27 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-07 04:11:35 (GMT) |
commit | 7d52785d2ac1a07bc012b76cb465c9a01d830a32 (patch) | |
tree | 4e26a0240a2c8c0f6f925ec0ae130bc9de423b78 /drivers/gpu/drm/radeon/radeon_device.c | |
parent | 9ace9f7b168fef492f731ba60da5c76bc0776e6d (diff) | |
download | linux-fsl-qoriq-7d52785d2ac1a07bc012b76cb465c9a01d830a32.tar.xz |
drm/radeon/kms: always use writeback/events for fences on NI
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index e353430..26091d6 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -228,6 +228,11 @@ int radeon_wb_init(struct radeon_device *rdev) rdev->wb.use_event = true; } } + /* always use writeback/events on NI */ + if (ASIC_IS_DCE5(rdev)) { + rdev->wb.enabled = true; + rdev->wb.use_event = true; + } dev_info(rdev->dev, "WB %sabled\n", rdev->wb.enabled ? "en" : "dis"); |