drm: forward declare struct drm_file in drm_syncobj.h
drm_syncobj.h uses struct drm_file pointers, forward declare struct
drm_file to make the header self-contained. This prepares for dropping
drmP.h from files including drm_syncobj.h.
Switch from "" to <> includes while at it.
v2: forward declare instead of including drm_file.h (Daniel)
[Updated commit message per Laurent's review while applying.]
Cc: Sam Ravnborg <email address hidden>
Cc: Daniel Vetter <email address hidden>
Cc: Laurent Pinchart <email address hidden>
Reviewed-by: Daniel Vetter <email address hidden>
Reviewed-by: Laurent Pinchart <email address hidden>
Signed-off-by: Jani Nikula <email address hidden>
Link: https://patchwork<email address hidden>
drm_hdcp.h uses kernel integer types, make it self-contained by
including linux/kernel.h. This prepares for dropping drmP.h from files
including drm_hdcp.h.
[Updated commit message per Laurent's review while applying.]
Cc: Sam Ravnborg <email address hidden>
Cc: Daniel Vetter <email address hidden>
Cc: Laurent Pinchart <email address hidden>
Reviewed-by: Daniel Vetter <email address hidden>
Reviewed-by: Laurent Pinchart <email address hidden>
Signed-off-by: Jani Nikula <email address hidden>
Link: https://patchwork.freedesktop.org/patch/msgid/adfc79941e827b49eb6186f317cbeff0fb365f33<email address hidden>
drm_file.h embeds idr structures in DRM-specific structures. Include the
corresponding header to make drm_file.h self-contained. Make it easier
to drop drmP.h includes.
[Updated commit message per Laurent's review while applying.]
Cc: Sam Ravnborg <email address hidden>
Cc: Daniel Vetter <email address hidden>
Cc: Laurent Pinchart <email address hidden>
Reviewed-by: Daniel Vetter <email address hidden>
Reviewed-by: Laurent Pinchart <email address hidden>
Signed-off-by: Jani Nikula <email address hidden>
Link: https://patchwork.freedesktop.org/patch/msgid/2818b15332ab562722dfc324cf977b7eb4a04401<email address hidden>
drm: include kernel.h and agp_backend.h from intel-gtt.h
intel-gtt.h uses kernel and agp pointers, make it self-contained by
including the relevant headers. This prepares for dropping drmP.h from
files including intel-gtt.h.
[Updated commit message per Laurent's review while applying.]
When showing the list of waiters, include the task's status so that we
can tell if they have been woken up and are waiting for the CPU, or if
they are still waiting to be woken.
v2: task_state_to_char()
Signed-off-by: Chris Wilson <email address hidden>
Cc: Mika Kuoppala <email address hidden>
Cc: Tvrtko Ursulin <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>
f43348a...
by
=?utf-8?b?VmlsbGUgU3lyasOkbMOk?= <email address hidden>
drm/i915: Add rotation readout for plane initial config
If we need to force a full plane update before userspace/fbdev
have given us a proper plane state we should try to maintain the
current plane state as much as possible (apart from the parts
of the state we're trying to fix up with the plane update).
To that end add basic readout for the plane rotation and
maintain it during the initial fb takeover.
Cc: Hans de Goede <email address hidden>
Fixes: 516a49cc1946 ("drm/i915: Fix assert_plane() warning on bootup with external display")
Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork<email address hidden>
Tested-by: Hans de Goede <email address hidden>
Reviewed-by: Rodrigo Vivi <email address hidden>
Reviewed-by: Maarten Lankhorst <email address hidden>