diff options
| author | Marek Olšák <[email protected]> | 2024-06-01 19:05:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-01 20:10:47 +0000 |
| commit | 0d3157d04d9cafd54f32b68366f0fa227076aa0d (patch) | |
| tree | 24a9ad709f882c2d4a396f3041d2bce68ab6b1ee /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
| parent | drm/amdgpu/display: add all gfx12 modifiers (diff) | |
| download | kernel-0d3157d04d9cafd54f32b68366f0fa227076aa0d.tar.gz kernel-0d3157d04d9cafd54f32b68366f0fa227076aa0d.zip | |
drm/amdgpu: add amdgpu_framebuffer::gfx12_dcc
amdgpu_framebuffer doesn't have tiling_flags, so we need this.
amdgpu_display_get_fb_info never gets NULL parameters, so checking for NULL
was useless.
Signed-off-by: Marek Olšák <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index 1fe21a70ddd0..d002b845d8ac 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -300,6 +300,7 @@ struct amdgpu_framebuffer { uint64_t tiling_flags; bool tmz_surface; + bool gfx12_dcc; /* caching for later use */ uint64_t address; |
