]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/psr: Change psr size limits check
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 28 Oct 2024 13:00:13 +0000 (18:30 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 29 Oct 2024 05:16:44 +0000 (10:46 +0530)
commit809f3dd0c9ec7efeb0924376a6502be5b202083e
tree318efd9d629419b11d9c936557602c97404c26cb
parentf0ea2909449fb8231d1a8e7d1ac060023114e415
drm/i915/psr: Change psr size limits check

Change the check to only check for psr size limits till Pre-Xe2
since after that the psr size is equal to maximum pipe size anyways.

--v2
-Check only size limit until pre-Xe2 [Matt]

--v3
-Make sure psr_max_{h,v} and max_bpp are equal to crtc_{h,v}_display
and pipe_bpp [Ankit]

Bspec: 69885, 68858
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241028130012.199090-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_psr.c