[Intel-gfx] [PATCH] drm/i915: Postpone plane readout until after encoder readout
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Sun Aug 2 23:31:43 PDT 2015
Op 31-07-15 om 15:04 schreef Patrik Jakobsson:
> When reading out hw state for planes we disable inactive planes which in
> turn triggers an update of the watermarks. The update depends on the
> crtc_clock being set which is done when reading out encoders. Thus
> postpone the plane readout until after encoder readout.
>
> This prevents a warning in skl_compute_linetime_wm() where pixel_rate
> becomes 0 when crtc_clock is 0.
>
The plane loop doesn't have to be nested.
But that's just a minor nitpick, feel free to ignore..
Reviewed-By: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
More information about the Intel-gfx
mailing list