0fe2df44 | 20-Jan-2025 |
Navid Assadian <Navid.Assadian@amd.com> |
drm/amd/display: Add SPL namespace
[Why] In order to avoid component conflicts, spl namespace is needed.
[How] Adding SPL namespace to the public API os that each user of SPL can have their own nam
drm/amd/display: Add SPL namespace
[Why] In order to avoid component conflicts, spl namespace is needed.
[How] Adding SPL namespace to the public API os that each user of SPL can have their own namespace.
Signed-off-by: Navid Assadian <Navid.Assadian@amd.com> Reviewed-by: Samson Tam <Samson.Tam@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
259eacbf | 07-Jan-2025 |
Samson Tam <Samson.Tam@amd.com> |
drm/amd/display: Fix unit test failure
[Why] Some of unit tests use large scaling ratio such that when we calculate optimal number of taps, max_taps is negative. Then in recent change, we changed
drm/amd/display: Fix unit test failure
[Why] Some of unit tests use large scaling ratio such that when we calculate optimal number of taps, max_taps is negative. Then in recent change, we changed max_taps to uint instead of int so now max_taps wraps and is positive. This change changed the behaviour from returning back false to return true and breaks unit test check
[How] Add check to prevent max_taps from wrapping and set to 0 instead
Signed-off-by: Samson Tam <Samson.Tam@amd.com> Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
0d300464 | 21-Jan-2025 |
Samson Tam <Samson.Tam@amd.com> |
drm/amd/display: fix check for identity ratio
[Why] IDENTITY_RATIO check uses 2 bits for integer, which only allows checking downscale ratios up to 3. But we support up to 6x downscale
[How] Upd
drm/amd/display: fix check for identity ratio
[Why] IDENTITY_RATIO check uses 2 bits for integer, which only allows checking downscale ratios up to 3. But we support up to 6x downscale
[How] Update IDENTITY_RATIO to check 3 bits for integer Add ASSERT to catch if we downscale more than 6x
Signed-off-by: Samson Tam <Samson.Tam@amd.com> Reviewed-by: Jun Lei <jun.lei@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
26873260 | 19-Dec-2024 |
Assadian, Navid <navid.assadian@amd.com> |
drm/amd/display: Fix mismatch type comparison
The mismatch type comparison/assignment may cause data loss. Since the values are always non-negative, it is safe to use unsigned variables to resolve t
drm/amd/display: Fix mismatch type comparison
The mismatch type comparison/assignment may cause data loss. Since the values are always non-negative, it is safe to use unsigned variables to resolve the mismatch.
Signed-off-by: Navid Assadian <navid.assadian@amd.com> Reviewed-by: Joshua Aberback <joshua.aberback@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
fba4d19f | 20-Jan-2025 |
Navid Assadian <Navid.Assadian@amd.com> |
drm/amd/display: Add opp recout adjustment
[Why] For subsampled YUV output formats, more pixels can get fetched and be used for scaling.
[How] Add the adjustment to the calculated recout, so the vi
drm/amd/display: Add opp recout adjustment
[Why] For subsampled YUV output formats, more pixels can get fetched and be used for scaling.
[How] Add the adjustment to the calculated recout, so the viewport covers the corresponding pixels on the source plane.
Signed-off-by: Navid Assadian <Navid.Assadian@amd.com> Reviewed-by: Samson Tam <Samson.Tam@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|