[Intel-gfx] [PATCH 2/2] drm/i915: Deal with upside-down mounted LCD panels

Jani Nikula jani.nikula at linux.intel.com
Mon May 8 08:25:36 UTC 2017


On Sun, 07 May 2017, Hans de Goede <hdegoede at redhat.com> wrote:
> @@ -1403,6 +1410,31 @@ static inline u32 intel_plane_ggtt_offset(const struct intel_plane_state *state)
>  	return i915_ggtt_offset(state->vma);
>  }
>  
> +static inline unsigned int
> +intel_plane_get_rotation(const struct intel_plane_state *plane_state)
> +{

Random drive-by bikeshed, is this really worth the inline?

BR,
Jani.

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list