1.1 --- a/pkg/devices/display/src/ci20/display-ci20_hdmi.cc Sat Jan 30 23:39:17 2021 +0100
1.2 +++ b/pkg/devices/display/src/ci20/display-ci20_hdmi.cc Sun Jan 31 00:49:22 2021 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Export MIPS Creator CI20 HDMI display operations as a server.
1.6 *
1.7 - * Copyright (C) 2018, 2020 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2018, 2020, 2021 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -65,7 +65,7 @@
1.13 /* Start the HDMI peripheral. */
1.14
1.15 cpm_device->stop_clock(Clock_hdmi);
1.16 - cpm_device->set_hdmi_frequency(27000000);
1.17 + cpm_device->set_frequency(Clock_frequency_hdmi, 27000000);
1.18 cpm_device->start_clock(Clock_hdmi);
1.19
1.20 /* Load the panel data from the configured library. */
1.21 @@ -119,7 +119,7 @@
1.22
1.23 // NOTE: Should test to see if it is connected.
1.24
1.25 - if (!cpm_device->get_lcd_pixel_frequency(0, &frequency))
1.26 + if (!cpm_device->get_frequency(Clock_frequency_lcd_pixel, &frequency))
1.27 {
1.28 hdmi->enable(frequency);
1.29 }