mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 06:27:21 +00:00
[Why]
Addressed previous issues with quality changes and new issues due to
rolling back quality changes.
[How]
This reverts commit f9e6759888, fixes merge conflicts, and fixed some
formatting errors.
Store current sharpness level for each pregen table to minimize
calculating sharpness table every time.
Disable dynamic ODM when sharpness is enabled.
Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
26 lines
455 B
C
26 lines
455 B
C
/* SPDX-License-Identifier: MIT */
|
|
|
|
/* Copyright 2024 Advanced Micro Devices, Inc. */
|
|
|
|
#ifndef SPL_DEBUG_H
|
|
#define SPL_DEBUG_H
|
|
|
|
#ifdef SPL_ASSERT
|
|
#undef SPL_ASSERT
|
|
#endif
|
|
#define SPL_ASSERT(b)
|
|
|
|
#define SPL_ASSERT_CRITICAL(expr) do {if (expr)/* Do nothing */; } while (0)
|
|
|
|
#ifdef SPL_DALMSG
|
|
#undef SPL_DALMSG
|
|
#endif
|
|
#define SPL_DALMSG(b)
|
|
|
|
#ifdef SPL_DAL_ASSERT_MSG
|
|
#undef SPL_DAL_ASSERT_MSG
|
|
#endif
|
|
#define SPL_DAL_ASSERT_MSG(b, m)
|
|
|
|
#endif // SPL_DEBUG_H
|