Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/amd/amdgpu Add missing break ...



details:   https://anonhg.NetBSD.org/src/rev/d4ff65040fe8
branches:  trunk
changeset: 839513:d4ff65040fe8
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 23 19:37:36 2019 +0000

description:
Add missing break in amdgpu_gfx_v8_0.c

Reviewed by <mrg>

Detected with GCC7 with kUBSan build for NetBSD/i386

diffstat:

 sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v8_0.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1c1ba5b316f6 -r d4ff65040fe8 sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v8_0.c
--- a/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v8_0.c       Sat Feb 23 19:36:15 2019 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v8_0.c       Sat Feb 23 19:37:36 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amdgpu_gfx_v8_0.c,v 1.1 2018/08/27 14:10:14 riastradh Exp $    */
+/*     $NetBSD: amdgpu_gfx_v8_0.c,v 1.2 2019/02/23 19:37:36 kamil Exp $        */
 
 /*
  * Copyright 2014 Advanced Micro Devices, Inc.
@@ -23,7 +23,7 @@
  *
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdgpu_gfx_v8_0.c,v 1.1 2018/08/27 14:10:14 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdgpu_gfx_v8_0.c,v 1.2 2019/02/23 19:37:36 kamil Exp $");
 
 #include <linux/firmware.h>
 #include <linux/module.h>
@@ -1640,6 +1640,7 @@
                        adev->gfx.config.macrotile_mode_array[reg_offset] = gb_tile_moden;
                        WREG32(mmGB_MACROTILE_MODE0 + reg_offset, gb_tile_moden);
                }
+               break;
        case CHIP_FIJI:
                for (reg_offset = 0; reg_offset < num_tile_mode_states; reg_offset++) {
                        switch (reg_offset) {



Home | Main Index | Thread Index | Old Index