diff options
| author | Bas Nieuwenhuizen <[email protected]> | 2020-09-02 12:22:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-30 18:27:23 +0000 |
| commit | 6eed95b00b45ca241dbec6f684967925bfdfb0e5 (patch) | |
| tree | 66601e0b713059a72628b78fa112e1f32434f71f /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
| parent | drm/fourcc: Add AMD DRM modifiers. (diff) | |
| download | kernel-6eed95b00b45ca241dbec6f684967925bfdfb0e5.tar.gz kernel-6eed95b00b45ca241dbec6f684967925bfdfb0e5.zip | |
drm/amd/display: Store tiling_flags in the framebuffer.
This moves the tiling_flags to the framebuffer creation.
This way the time of the "tiling" decision is the same as it
would be with modifiers.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index a04decb934b0..319cb19e1b99 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -302,6 +302,9 @@ struct amdgpu_display_funcs { struct amdgpu_framebuffer { struct drm_framebuffer base; + uint64_t tiling_flags; + bool tmz_surface; + /* caching for later use */ uint64_t address; }; |
