[PATCH] drm/amd/display: Increase frame-larger-than warning limit for DCN401

2024-12-31 Thread Palmer Dabbelt
From: Palmer Dabbelt Without this I get CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.o drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c: In function ‘dcn401_dpp_create’: drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401

Re: [PATCH] drm/amd/display: Increase frame-larger-than warning limit

2024-06-05 Thread Palmer Dabbelt
On Mon, 03 Jun 2024 15:29:48 PDT (-0700), nat...@kernel.org wrote: Hi Palmer, On Thu, May 30, 2024 at 07:57:42AM -0700, Palmer Dabbelt wrote: From: Palmer Dabbelt I get a handful of build errors along the lines of linux/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32

[PATCH] drm/amd/display: Increase frame-larger-than warning limit

2024-05-31 Thread Palmer Dabbelt
From: Palmer Dabbelt I get a handful of build errors along the lines of linux/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:58:13: error: stack frame size (2352) exceeds limit (2048) in

Re: [PATCH v2 10/14] riscv: Add support for kernel-mode FPU

2024-01-10 Thread Palmer Dabbelt
pt_regs(current)); + csr_set(CSR_SSTATUS, SR_FS); +} +EXPORT_SYMBOL_GPL(kernel_fpu_begin); + +void kernel_fpu_end(void) +{ + csr_clear(CSR_SSTATUS, SR_FS); + fstate_restore(current, task_pt_regs(current)); + preempt_enable(); +} +EXPORT_SYMBOL_GPL(kernel_fpu_end); Reviewed-by:

[PATCH] drm/amd/display: fix another array-bounds error in dc_stream_remove_writeback()

2022-10-10 Thread Palmer Dabbelt
From: Palmer Dabbelt Without this I get some warnings. I get the following with GCC 11: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function ‘dc_stream_remove_writeback’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:527:83: warning: array subscript 1 is above