diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-07 03:19:27 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-07 05:11:35 +0100 |
commit | 7d52785d2ac1a07bc012b76cb465c9a01d830a32 (patch) | |
tree | 4e26a0240a2c8c0f6f925ec0ae130bc9de423b78 /drivers | |
parent | drm/radeon/kms: adjust default clock/vddc tracking for pm on DCE5 (diff) | |
download | linux-7d52785d2ac1a07bc012b76cb465c9a01d830a32.tar.xz linux-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')
-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 e35343007229..26091d602b84 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"); |