winsys/radeon: fix hawaii accel_working2 comment
authorAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 13 Aug 2014 17:04:11 +0000 (19:04 +0200)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 13 Aug 2014 21:28:23 +0000 (23:28 +0200)
accel_working2 returns 3 if the new firmware is used.

The comment wasn't updated in v3 of commit:
36771dc winsys/radeon: fix nop packet padding for hawaii

Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_cs.c

index dd109af68fb0d2856e7680732d73f64e1e9aea43..ecf89578c68e3f215c301de58ac1749b4aeabee7 100644 (file)
@@ -447,7 +447,7 @@ static void radeon_drm_cs_flush(struct radeon_winsys_cs *rcs,
         /* pad DMA ring to 8 DWs to meet CP fetch alignment requirements
          * r6xx, requires at least 4 dw alignment to avoid a hw bug.
          * hawaii with old firmware needs type2 nop packet.
-         * accel_working2 with value 2 indicates the new firmware.
+         * accel_working2 with value 3 indicates the new firmware.
          */
         if (cs->ws->info.chip_class <= SI ||
             (cs->ws->info.family == CHIP_HAWAII &&