diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-10-16 17:31:28 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-10-23 18:19:00 +0300 |
| commit | 8a22edcbed9b911b7fa2d9e508bed032c0c27ea6 (patch) | |
| tree | 7fe3d42b7c54c00aefa011f7119614c8e44df6e2 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | drm/i915/pfit: Check pfit scaling factors on ILK-BDW (diff) | |
| download | linux-8a22edcbed9b911b7fa2d9e508bed032c0c27ea6.tar.gz linux-8a22edcbed9b911b7fa2d9e508bed032c0c27ea6.zip | |
drm/i915/pfit: Reject pfit downscaling for GMCH platforms
Gen2/3 pfit doesn't support downscaling at all, so reject it.
On i965+ downscaling is supported by the hardware (max scale
factor < 2.0), but as downscaling increases the effective
pixel rate we can't safely allow it unless
intel_crtc_compute_pixel_rate() gets fixed. Probably the
best solution would be to calculate (at least an
apporiximate) pfit destination window and use
ilk_pipe_pixel_rate() for all platforms. For now reject
downscaling on all gmch platforms.
The intel ddx has a similar check for this in userspace,
modesetting ddx does not. And presumably wayland compositors
also do not make such assumptions in userspace.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241016143134.26903-4-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
