Displaying 15 results from an estimated 15 matches for "gfx_v8_0".
2019 Feb 15
2
[PATCH] drm: Mark expected switch fall-throughs
...allthrough=3
Notice that, in some cases, the code comment is modified
in accordance with what GCC is expecting to find.
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 ++
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 2 ++
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 2 +-
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2 ++
drivers/gpu/drm/...
2017 Oct 01
0
[PATCH 06/18] drm: use ARRAY_SIZE
...occinelle with the following semantic patch:
@r depends on (org || report)@
type T;
T[] E;
position p;
@@
(
(sizeof(E)@p /sizeof(*E))
|
(sizeof(E)@p /sizeof(E[...]))
|
(sizeof(E)@p /sizeof(T))
)
Signed-off-by: Jérémy Lefaure <jeremy.lefaure at lse.epita.fr>
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 9 +++++----
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 9 +++++----
drivers/gpu/drm/gma500/psb_intel_sdvo.c | 9 ++++-----
drivers/gpu/drm/i915/gvt/vgpu.c | 3 ++-
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 7 ++++---
drivers/gpu/drm/via/via...
2019 Feb 15
0
[PATCH] drm: Mark expected switch fall-throughs
...expecting to find.
>
> This patch is part of the ongoing efforts to enable
> -Wimplicit-fallthrough.
>
> Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
Can you please split this up per driver? A comment below as well.
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 +
> drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 ++
> drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 2 ++
> drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 2 +-
> drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2...
2017 Dec 16
0
[PATCH 04/45] gpu: drm: remove duplicate includes
These duplicate includes have been found with scripts/checkincludes.pl but
they have been removed manually to avoid removing false positives.
Signed-off-by: Pravin Shedge <pravin.shedge4linux at gmail.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 -
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 1 -
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 1 -
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 1 -
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ---
drivers/...
2017 Oct 01
6
[PATCH 00/18] use ARRAY_SIZE macro
Hi everyone,
Using ARRAY_SIZE improves the code readability. I used coccinelle (I
made a change to the array_size.cocci file [1]) to find several places
where ARRAY_SIZE could be used instead of other macros or sizeof
division.
I tried to divide the changes into a patch per subsystem (excepted for
staging). If one of the patch should be split into several patches, let
me know.
In order to reduce
2020 Apr 04
0
[PATCH 4/6] kernel: move use_mm/unuse_mm to kthread.c
...4
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
@@ -20,8 +20,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <linux/mmu_context.h>
-
#include "amdgpu.h"
#include "amdgpu_amdkfd.h"
#include "gfx_v8_0.h"
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
index df841c2ac5e7..c7fd0c47b254 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
@@ -19,8 +19,6 @@
* AR...
2020 Apr 04
14
improve use_mm / unuse_mm
Hi all,
this series improves the use_mm / unuse_mm interface by better
documenting the assumptions, and my taking the set_fs manipulations
spread over the callers into the core API.
2020 Apr 04
14
improve use_mm / unuse_mm
Hi all,
this series improves the use_mm / unuse_mm interface by better
documenting the assumptions, and my taking the set_fs manipulations
spread over the callers into the core API.
2020 Apr 16
8
improve use_mm / unuse_mm v2
Hi all,
this series improves the use_mm / unuse_mm interface by better
documenting the assumptions, and my taking the set_fs manipulations
spread over the callers into the core API.
Changes since v1:
- drop a few patches
- fix a comment typo
- cover the newly merged use_mm/unuse_mm caller in vfio
2020 Apr 16
8
improve use_mm / unuse_mm v2
Hi all,
this series improves the use_mm / unuse_mm interface by better
documenting the assumptions, and my taking the set_fs manipulations
spread over the callers into the core API.
Changes since v1:
- drop a few patches
- fix a comment typo
- cover the newly merged use_mm/unuse_mm caller in vfio
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
.../gpio/gpio-ath79.c | 2 +-
drivers/gpio/gpio-eic-sprd.c | 4 +-
drivers/gpio/gpio-stmpe.c | 4 +-
drivers/gpio/gpiolib-acpi.c | 2 +-
.../drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/si_dpm.c | 4 +-
.../drm/amd/display/dc/bios/bios_parser2.c | 4 +-
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +-
.../drm/amd/display/dc/dce/dce_mem_input.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
.../gpio/gpio-ath79.c | 2 +-
drivers/gpio/gpio-eic-sprd.c | 4 +-
drivers/gpio/gpio-stmpe.c | 4 +-
drivers/gpio/gpiolib-acpi.c | 2 +-
.../drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/si_dpm.c | 4 +-
.../drm/amd/display/dc/bios/bios_parser2.c | 4 +-
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +-
.../drm/amd/display/dc/dce/dce_mem_input.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
.../gpio/gpio-ath79.c | 2 +-
drivers/gpio/gpio-eic-sprd.c | 4 +-
drivers/gpio/gpio-stmpe.c | 4 +-
drivers/gpio/gpiolib-acpi.c | 2 +-
.../drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/si_dpm.c | 4 +-
.../drm/amd/display/dc/bios/bios_parser2.c | 4 +-
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +-
.../drm/amd/display/dc/dce/dce_mem_input.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
.../gpio/gpio-ath79.c | 2 +-
drivers/gpio/gpio-eic-sprd.c | 4 +-
drivers/gpio/gpio-stmpe.c | 4 +-
drivers/gpio/gpiolib-acpi.c | 2 +-
.../drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/si_dpm.c | 4 +-
.../drm/amd/display/dc/bios/bios_parser2.c | 4 +-
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +-
.../drm/amd/display/dc/dce/dce_mem_input.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
.../gpio/gpio-ath79.c | 2 +-
drivers/gpio/gpio-eic-sprd.c | 4 +-
drivers/gpio/gpio-stmpe.c | 4 +-
drivers/gpio/gpiolib-acpi.c | 2 +-
.../drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/si_dpm.c | 4 +-
.../drm/amd/display/dc/bios/bios_parser2.c | 4 +-
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +-
.../drm/amd/display/dc/dce/dce_mem_input.c | 2 +-...