aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2022-10-31 17:16:01 +0000
committerHeiko Stuebner <[email protected]>2023-02-05 14:25:49 +0000
commit582212ee1611f77e0360d249f11c0f703ed723dc (patch)
tree129f4d0cb9f5c1c3712475ac9f446e5a120a401b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/rockchip: vop2: add support for the rgb output block (diff)
downloadkernel-582212ee1611f77e0360d249f11c0f703ed723dc.tar.gz
kernel-582212ee1611f77e0360d249f11c0f703ed723dc.zip
drm/rockchip: vop: Quiet always-warning AFBC log
The downstream code from which this was derived didn't ever run through this 'switch' block with non-AFBC formats, but the upstream code does -- we use this function to probe whether a given format is supported. Demote the warning to eliminate this sort of warning seen on every boot: [drm] unsupported AFBC format[3231564e] And make it warn more than once, because if we *actually* care to see what formats we're probing/rejecting and for what reasons, we probably care about more than just the first message. Drop the comment, because one of the two *is* commonly reachable. And lastly, drop the unreachable return; we'd do better to let the compiler complain if we start hitting this unexpectedly. Signed-off-by: Brian Norris <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20221031101557.1.Ic1569d394173c1c3016142fee4bb87a09753db94@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions