Anusha Srivatsa fb73d3c253 drm/amdgpu/vce1: Check that the GPU address is < 128 MiB
JIRA: https://issues.redhat.com/browse/RHEL-180329

commit 89ea749336cae9e3a72e6d8f2f09342fbb617c17
Author: Timur Kristóf <timur.kristof@gmail.com>
Date:   Wed May 13 22:04:09 2026 +0200

    drm/amdgpu/vce1: Check that the GPU address is < 128 MiB

    [ Upstream commit 9f907adb66d8369dd45412794a04845011503fa8 ]

    When ensuring the low 32-bit address, make sure it is
    less than 128 MiB, otherwise the VCE seems to fail to initialize.
    This seems to be an undocumented limitation of the firmware
    validation mechanism. Note that in case of VCE1 the BAR
    address is zero and we can't change it also due to the
    firmware validator.

    When programming the mmVCE_VCPU_CACHE_OFFSETn registers,
    don't AND them with a mask. This is incorrect because
    the register mask is actually 0x0fffffff and useless because
    we already ensure the addresses are below the limit.

    Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    (cherry picked from commit e729ae5f3ac73c861c062080ac8c3d666c972404)
    Stable-dep-of: 3e5a1d5bb2ff ("drm/amdgpu/vce1: Fix VCE 1 firmware size and offsets")
    Signed-off-by: Sasha Levin <sashal@kernel.org>

Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
2026-08-03 14:53:51 -05:00
2026-07-28 15:13:44 +00:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
S
Description
No description provided
Readme
2.8 GiB
Languages
C 97.6%
Assembly 1%
Shell 0.5%
Python 0.3%
Makefile 0.3%
Other 0.1%