mirror of
https://github.com/torvalds/linux.git
synced 2026-04-29 20:12:38 -04:00
drm/amd/display: Initial prototype of FBC implementation
- Protected by ENABLE_FBC compile flag - DC part will follow Signed-off-by: Roman Li <Roman.Li@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -72,6 +72,15 @@ struct irq_list_head {
|
||||
struct work_struct work;
|
||||
};
|
||||
|
||||
#ifdef ENABLE_FBC
|
||||
struct dm_comressor_info {
|
||||
void *cpu_addr;
|
||||
struct amdgpu_bo *bo_ptr;
|
||||
uint64_t gpu_addr;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
struct amdgpu_display_manager {
|
||||
struct dal *dal;
|
||||
struct dc *dc;
|
||||
@@ -133,6 +142,9 @@ struct amdgpu_display_manager {
|
||||
* Caches device atomic state for suspend/resume
|
||||
*/
|
||||
struct drm_atomic_state *cached_state;
|
||||
#ifdef ENABLE_FBC
|
||||
struct dm_comressor_info compressor;
|
||||
#endif
|
||||
};
|
||||
|
||||
/* basic init/fini API */
|
||||
|
||||
Reference in New Issue
Block a user