diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-06 21:19:27 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-07 14:11:35 +1000 |
commit | 7d52785d2ac1a07bc012b76cb465c9a01d830a32 (patch) | |
tree | 4e26a0240a2c8c0f6f925ec0ae130bc9de423b78 /drivers/gpu | |
parent | 9ace9f7b168fef492f731ba60da5c76bc0776e6d (diff) | |
download | linux-3.10-7d52785d2ac1a07bc012b76cb465c9a01d830a32.tar.gz linux-3.10-7d52785d2ac1a07bc012b76cb465c9a01d830a32.tar.bz2 linux-3.10-7d52785d2ac1a07bc012b76cb465c9a01d830a32.zip |
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')
-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 e3534300722..26091d602b8 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"); |