As a preparation for MST Panel Replay implementation add psr_caps and
panel_replay_caps structures into intel_connector. These are supposed to
contain all sink information related to PSR and Panel Replay.

As a first step in moving Panel Replay and PSR sink data add panel
granularity information into these newly added caps structures.

Signed-off-by: Jouni Högander <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_display_types.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h 
b/drivers/gpu/drm/i915/display/intel_display_types.h
index f8f7bc956214b..82f1aac22d50d 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -561,6 +561,16 @@ struct intel_connector {
                        } overall_throughput;
                        int max_line_width;
                } dsc_branch_caps;
+
+               struct {
+                       u16 su_w_granularity;
+                       u16 su_y_granularity;
+               } panel_replay_caps;
+
+               struct {
+                       u16 su_w_granularity;
+                       u16 su_y_granularity;
+               } psr_caps;
        } dp;
 
        struct {
-- 
2.43.0

Reply via email to