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/display/dc amdgpu: Remove...



details:   https://anonhg.NetBSD.org/src/rev/44882e7aa42d
branches:  trunk
changeset: 1028589:44882e7aa42d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:23:37 2021 +0000

description:
amdgpu: Remove bogus const qualifier in bw_calcs.

diffstat:

 sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/amdgpu_dce_calcs.c |  6 +++---
 sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/dce_calcs.h          |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 82b8cadcd3a1 -r 44882e7aa42d sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/amdgpu_dce_calcs.c
--- a/sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/amdgpu_dce_calcs.c    Sun Dec 19 11:23:26 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/amdgpu_dce_calcs.c    Sun Dec 19 11:23:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amdgpu_dce_calcs.c,v 1.3 2021/12/19 11:23:26 riastradh Exp $   */
+/*     $NetBSD: amdgpu_dce_calcs.c,v 1.4 2021/12/19 11:23:37 riastradh Exp $   */
 
 /*
  * Copyright 2015 Advanced Micro Devices, Inc.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdgpu_dce_calcs.c,v 1.3 2021/12/19 11:23:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdgpu_dce_calcs.c,v 1.4 2021/12/19 11:23:37 riastradh Exp $");
 
 #include <linux/slab.h>
 
@@ -3018,7 +3018,7 @@
 
 bool bw_calcs(struct dc_context *ctx,
        const struct bw_calcs_dceip *dceip,
-       const struct bw_calcs_vbios *vbios,
+       struct bw_calcs_vbios *vbios,
        const struct pipe_ctx pipe[],
        int pipe_count,
        struct dce_bw_output *calcs_output)
diff -r 82b8cadcd3a1 -r 44882e7aa42d sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/dce_calcs.h
--- a/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/dce_calcs.h     Sun Dec 19 11:23:26 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/dce_calcs.h     Sun Dec 19 11:23:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dce_calcs.h,v 1.2 2021/12/18 23:45:05 riastradh Exp $  */
+/*     $NetBSD: dce_calcs.h,v 1.3 2021/12/19 11:23:38 riastradh Exp $  */
 
 /*
  * Copyright 2015-2017 Advanced Micro Devices, Inc.
@@ -482,7 +482,7 @@
 bool bw_calcs(
        struct dc_context *ctx,
        const struct bw_calcs_dceip *dceip,
-       const struct bw_calcs_vbios *vbios,
+       struct bw_calcs_vbios *vbios,
        const struct pipe_ctx *pipe,
        int pipe_count,
        struct dce_bw_output *calcs_output);



Home | Main Index | Thread Index | Old Index