Commit 63b9d9aa authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: s/int/u32/ for aux_offset/alignment

ggtt offsets/alignments are u32 everywhere else. Don't use
a signed int for them here.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201008101608.8652-3-ville.syrjala@linux.intel.comReviewed-by: default avatarImre Deak <imre.deak@intel.com>
parent a007138e
...@@ -4026,8 +4026,8 @@ static int skl_check_nv12_aux_surface(struct intel_plane_state *plane_state) ...@@ -4026,8 +4026,8 @@ static int skl_check_nv12_aux_surface(struct intel_plane_state *plane_state)
if (is_ccs_modifier(fb->modifier)) { if (is_ccs_modifier(fb->modifier)) {
int ccs_plane = main_to_ccs_plane(fb, uv_plane); int ccs_plane = main_to_ccs_plane(fb, uv_plane);
int aux_offset = plane_state->color_plane[ccs_plane].offset; u32 aux_offset = plane_state->color_plane[ccs_plane].offset;
int alignment = intel_surf_alignment(fb, uv_plane); u32 alignment = intel_surf_alignment(fb, uv_plane);
if (offset > aux_offset) if (offset > aux_offset)
offset = intel_plane_adjust_aligned_offset(&x, &y, offset = intel_plane_adjust_aligned_offset(&x, &y,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment