diff options
author | Dave Airlie <airlied@redhat.com> | 2020-06-11 17:51:06 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-06-11 17:51:15 +1000 |
commit | 66057dd1d1cf2149e0f5fdaee58d6ea69bc98048 (patch) | |
tree | 6f210eea8d37c511600a63c71f9dfd2268854850 /drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c | |
parent | addb1e23bf72c47a3e2eb7cdad6dc8cdffa91384 (diff) | |
parent | 291ddeb621e4a9f1ced8302a777fbd7fbda058c6 (diff) |
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_ddc_clk.c')
-rw-r--r-- | drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c index 2ff780114106..12430b9d4e93 100644 --- a/drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c +++ b/drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c @@ -33,7 +33,7 @@ static unsigned long sun4i_ddc_calc_divider(unsigned long rate, unsigned long best_rate = 0; u8 best_m = 0, best_n = 0, _m, _n; - for (_m = 0; _m < 8; _m++) { + for (_m = 0; _m < 16; _m++) { for (_n = 0; _n < 8; _n++) { unsigned long tmp_rate; |