diff options
author | Dave Airlie <airlied@redhat.com> | 2020-06-11 09:51:06 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-06-11 09:51:15 +0200 |
commit | 66057dd1d1cf2149e0f5fdaee58d6ea69bc98048 (patch) | |
tree | 6f210eea8d37c511600a63c71f9dfd2268854850 /drivers/gpu/drm/sun4i/sun4i_hdmi.h | |
parent | Merge tag 'drm-intel-next-fixes-2020-06-10' of git://anongit.freedesktop.org/... (diff) | |
parent | drm/ast: fix missing break in switch statement for format->cpp[0] case 4 (diff) | |
download | linux-66057dd1d1cf2149e0f5fdaee58d6ea69bc98048.tar.xz linux-66057dd1d1cf2149e0f5fdaee58d6ea69bc98048.zip |
Merge tag 'drm-misc-next-fixes-2020-06-11' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
In core, DRM connectors now notify userspace of hotplug events via
sysfs. In drivers, sun4i now uses 4 bits to store the clock's m divider;
ast sets up 24/32-bit color mode correctly.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200611075007.GA15098@linux-uq9g
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_hdmi.h')
-rw-r--r-- | drivers/gpu/drm/sun4i/sun4i_hdmi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi.h b/drivers/gpu/drm/sun4i/sun4i_hdmi.h index 7ad3f06c127e..00ca35f07ba5 100644 --- a/drivers/gpu/drm/sun4i/sun4i_hdmi.h +++ b/drivers/gpu/drm/sun4i/sun4i_hdmi.h @@ -148,7 +148,7 @@ #define SUN4I_HDMI_DDC_CMD_IMPLICIT_WRITE 3 #define SUN4I_HDMI_DDC_CLK_REG 0x528 -#define SUN4I_HDMI_DDC_CLK_M(m) (((m) & 0x7) << 3) +#define SUN4I_HDMI_DDC_CLK_M(m) (((m) & 0xf) << 3) #define SUN4I_HDMI_DDC_CLK_N(n) ((n) & 0x7) #define SUN4I_HDMI_DDC_LINE_CTRL_REG 0x540 |