compile when DCN was disabled.
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/display/dc/Makefile | 4 +-
drivers/gpu/drm/amd/display/dc/calcs/Makefile | 68 ---
drivers/gpu/drm/amd/display/dc/dml/Makefile | 10 ++-
.../amd/display/dc/{ => dml}/calcs/bw_fixed.c |
ted?
>From what I tested locally both work pretty much the same. I think my
solution
is a little harder to test but ends up being a little more compact,
which might
translate into being more maintainable (maybe?).
Please let me know what you think :).
Cheers,
--
Isabella Bas
The calcs folder has FPU code on it, which should be isolated inside the
DML folder as per https://patchwork.freedesktop.org/series/93042/.
This commit aims single-handedly to correct the location of such FPU
code and does not refactor any functions.
Signed-off-by: Isabella Basso
---
drivers
ueira:
1. Drop display_count variable.
- As suggested by Felix Kuehling:
1. Remove block surrounding amdgpu_xgmi_same_hive.
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 4
.../gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c | 7 +--
Fix the warning below:
warning: Cannot understand * \file amdgpu_ioc32.c
on line 2 - I thought it was a doc line
Changes since v1:
- As suggested by Alexander Deucher:
1. Reduce diff to minimum as this DOC section doesn't provide much
value.
Signed-off-by: Isabella Basso
---
dr
msg_id, unsigned int param)
| ^
Changes since v1:
- As suggested by Rodrigo Siqueira:
1. Rewrite function signatures to make them more readable.
2. Get rid of unused functions in order to remove 'defined but not
used' warnings.
Signed-off-by
This commit fixes the compile-time warning below:
warning: no previous prototype for ‘amdgpu_ras_mca_query_error_status’
[-Wmissing-prototypes]
Changes since v1:
- As suggested by Alexander Deucher:
1. Make function static instead of adding prototype.
Signed-off-by: Isabella Basso
functions in patch 6/10
- Removed more unecessary code in patch 9/10
- Reduced patch 10/10 to a minimum
[1] - https://pad.riseup.net/p/ZMkzoeO89Kt7R_IC4iAo-keep
[2] - https://patchwork.freedesktop.org/series/97701
Isabella Basso (10):
drm/amd: Mark IP_BASE definition as __maybe_unused
drm/amd: fix
This commit fixes the compile-time warning below:
warning: no previous prototype for ‘amdgpu_ras_mca_query_error_status’
[-Wmissing-prototypes]
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm
tarts with '/**', but isn't a kernel-doc
comment. Refer Documentation/doc-guide/kernel-doc.rst
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c| 4 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c| 2 +-
drivers/gpu/drm/amd/amdgpu/amd
o previous prototype for 'amdgpu_vkms_output_init'
[-Wmissing-prototypes]
399 | int amdgpu_vkms_output_init(struct drm_device *dev,
| ^~~~~~~
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 4 ++--
1 file changed, 2 insertions(+),
, unsigned int param)
| ^~~~~
Signed-off-by: Isabella Basso
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 19 +--
.../gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 4 +-
.../display/dc/clk_mgr/dcn10/rv1_clk_mgr.c| 2 +-
.../display/dc/clk_mgr/dcn20/d
ocks':
warning: variable 'enter_display_off' set but not used
[-Wunused-but-set-variable]
132 | bool enter_display_off = false;
| ^~~~~
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 3 +--
.
Fix the warning below by switching header comments to be more aligned
with AMD's docstrings:
warning: Cannot understand * \file amdgpu_ioc32.c
on line 2 - I thought it was a doc line
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.c | 16 +---
1
d int cmd,
unsigned long arg)
| ^~~
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 --
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu
~~
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c
b/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c
index 08442e7d9944..3c0658e32e93 10
defined but not used [-Wunused-const-variable=]
123 | static const struct IP_BASE UMC0_BASE ={ { { { 0x00014000, 0, 0, 0, 0 }
},
| ^~~~~
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/include/cyan_skillfish_ip_offset.h | 10 +-
drivers
were gathered by a script [1].
[1] - https://pad.riseup.net/p/ZMkzoeO89Kt7R_IC4iAo-keep
Isabella Basso (10):
drm/amd: Mark IP_BASE definition as __maybe_unused
drm/amd: fix improper docstring syntax
drm/amdgpu: add missing function prototype for
amdgpu_ras_mca_query_error_status
drm
o previous prototype for ‘amdgpu_has_atpx’
[-Wmissing-prototypes]
76 | bool amdgpu_has_atpx(void) {
| ^~~
Signed-off-by: Isabella Basso
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c| 1 +
.../drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_sm
19 matches
Mail list logo