Skip to content

Commit 26a2be0

Browse files
committed
Merge tag 'drm-misc-fixes-2020-07-22' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
* sun4i: Fix inverted HPD result; fixes an earlier fix * lima: fix timeout during reset Signed-off-by: Dave Airlie <[email protected]> From: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20200722070321.GA29190@linux-uq9g
2 parents ba47d84 + f3f90c6 commit 26a2be0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

drivers/gpu/drm/lima/lima_pp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ void lima_pp_fini(struct lima_ip *ip)
271271

272272
int lima_pp_bcast_resume(struct lima_ip *ip)
273273
{
274+
/* PP has been reset by individual PP resume */
275+
ip->data.async_reset = false;
274276
return 0;
275277
}
276278

drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ sun4i_hdmi_connector_detect(struct drm_connector *connector, bool force)
260260
unsigned long reg;
261261

262262
reg = readl(hdmi->base + SUN4I_HDMI_HPD_REG);
263-
if (reg & SUN4I_HDMI_HPD_HIGH) {
263+
if (!(reg & SUN4I_HDMI_HPD_HIGH)) {
264264
cec_phys_addr_invalidate(hdmi->cec_adap);
265265
return connector_status_disconnected;
266266
}

0 commit comments

Comments
 (0)