mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 18:42:25 -04:00
drm/i915: s/planar_slave/is_y_plane/
Bspec talks about Y planes, not planar slaves. Switch to using the same terminology to make life a bit less confusing. v2: Adjust some comments too (Maarten) Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250212164330.16891-5-ville.syrjala@linux.intel.com
This commit is contained in:
@@ -841,7 +841,7 @@ void intel_crtc_planes_update_noarm(struct intel_dsb *dsb,
|
||||
|
||||
/* TODO: for mailbox updates this should be skipped */
|
||||
if (new_plane_state->uapi.visible ||
|
||||
new_plane_state->planar_slave)
|
||||
new_plane_state->is_y_plane)
|
||||
intel_plane_update_noarm(dsb, plane,
|
||||
new_crtc_state, new_plane_state);
|
||||
}
|
||||
@@ -874,7 +874,7 @@ static void skl_crtc_planes_update_arm(struct intel_dsb *dsb,
|
||||
* would have to be called here as well.
|
||||
*/
|
||||
if (new_plane_state->uapi.visible ||
|
||||
new_plane_state->planar_slave)
|
||||
new_plane_state->is_y_plane)
|
||||
intel_plane_update_arm(dsb, plane, new_crtc_state, new_plane_state);
|
||||
else
|
||||
intel_plane_disable_arm(dsb, plane, new_crtc_state);
|
||||
|
||||
Reference in New Issue
Block a user