drm/amdgpu/jpeg: Add jpeg 5.3.0 support

Add the Jpeg IP v5_3_0 code base.

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Saleemkhan Jamadar
2026-01-05 16:59:57 -05:00
committed by Alex Deucher
parent c2775aaa0e
commit 4aeaf3cbfa
3 changed files with 732 additions and 1 deletions
+2 -1
View File
@@ -221,7 +221,8 @@ amdgpu-y += \
jpeg_v4_0_3.o \
jpeg_v4_0_5.o \
jpeg_v5_0_0.o \
jpeg_v5_0_1.o
jpeg_v5_0_1.o \
jpeg_v5_3_0.o
# add VPE block
amdgpu-y += \
File diff suppressed because it is too large Load Diff
+35
View File
@@ -0,0 +1,35 @@
/*
* Copyright 2025 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
*/
#ifndef __JPEG_V5_3_0_H__
#define __JPEG_V5_3_0_H__
#define vcnipJPEG_CGC_GATE 0x4160
#define vcnipJPEG_CGC_CTRL 0x4161
#define vcnipJPEG_SYS_INT_EN 0x4141
#define vcnipUVD_NO_OP 0x0029
#define vcnipJPEG_DEC_GFX10_ADDR_CONFIG 0x404A
extern const struct amdgpu_ip_block_version jpeg_v5_3_0_ip_block;
#endif /* __JPEG_V5_0_0_H__ */