]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/psr: Add panel granularity information into intel_connector
authorJouni Högander <jouni.hogander@intel.com>
Thu, 4 Dec 2025 10:47:26 +0000 (12:47 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 8 Dec 2025 06:15:58 +0000 (08:15 +0200)
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 <jouni.hogander@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251204104733.1106145-2-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h

index 3c08ef5bb6111f73104cc4a0846688ef776662cd..565d179f8780f703697477253060c4c7ff3ed781 100644 (file)
@@ -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 {