drm/i915/fbc: Remove ancient 16k plane stride limit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 3 Oct 2023 19:42:51 +0000 (22:42 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Oct 2023 10:25:36 +0000 (13:25 +0300)
commitda7b3b03f4c5f02e83dbd7cf9215e0fe6683e930
tree5791f465c14aeb84192139ecbfefa509c08707e5
parent6097cdac5af6115041dd7835670650c9c3633877
drm/i915/fbc: Remove ancient 16k plane stride limit

The 16k max plane stride limit seems to be originally from
i965gm, and no explicit limit has been specified since (g4x+).
So let's assume the max plane stride itself is a suitable limit
also for the more recent FBC hardware.

In fact even for i965gm the max X-tiled stride is also 16k so
technically we don't need the check there either, but let's
keep it there anyway since it's explicitly mentioned in the
spec. Gen2/3 have more strict limits checked separately.

Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231003194256.28569-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_fbc.c