mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
drm/i915/panic: Get the crtc from the correct place
Use hw.crtc as opposed to uapi.crtc in the panic code. I suspect this stuff doesn't handle joiner correctly in other ways either but can't be bothered to dig deeper. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20251119181606.17129-6-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
e48b99d863
commit
6b515868bc
|
|
@ -1277,7 +1277,8 @@ static unsigned int intel_4tile_get_offset(unsigned int width, unsigned int x, u
|
|||
static void intel_panic_flush(struct drm_plane *plane)
|
||||
{
|
||||
struct intel_plane_state *plane_state = to_intel_plane_state(plane->state);
|
||||
struct intel_crtc_state *crtc_state = to_intel_crtc_state(plane->state->crtc->state);
|
||||
struct intel_crtc *crtc = to_intel_crtc(plane_state->hw.crtc);
|
||||
struct intel_crtc_state *crtc_state = to_intel_crtc_state(crtc->base.state);
|
||||
struct intel_plane *iplane = to_intel_plane(plane);
|
||||
struct intel_display *display = to_intel_display(iplane);
|
||||
struct drm_framebuffer *fb = plane_state->hw.fb;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user