kms/impl-device: Fix some argument naming mistakes

It was left-overs from when the MetaKmsImpl was not per device.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1820>
This commit is contained in:
Jonas Ådahl 2021-04-01 11:56:22 +02:00 committed by Marge Bot
parent 8867b11e19
commit c822c799e4
5 changed files with 8 additions and 8 deletions

View File

@ -711,7 +711,7 @@ atomic_page_flip_handler (int fd,
}
static void
meta_kms_impl_device_atomic_setup_drm_event_context (MetaKmsImplDevice *impl,
meta_kms_impl_device_atomic_setup_drm_event_context (MetaKmsImplDevice *impl_device,
drmEventContext *drm_event_context)
{
drm_event_context->version = 3;

View File

@ -35,7 +35,7 @@ G_DEFINE_TYPE_WITH_CODE (MetaKmsImplDeviceDummy, meta_kms_impl_device_dummy,
initable_iface_init))
static void
meta_kms_impl_device_dummy_discard_pending_page_flips (MetaKmsImplDevice *impl)
meta_kms_impl_device_dummy_discard_pending_page_flips (MetaKmsImplDevice *impl_device)
{
}

View File

@ -1351,7 +1351,7 @@ page_flip_handler (int fd,
}
static void
meta_kms_impl_device_simple_setup_drm_event_context (MetaKmsImplDevice *impl,
meta_kms_impl_device_simple_setup_drm_event_context (MetaKmsImplDevice *impl_device,
drmEventContext *drm_event_context)
{
drm_event_context->version = 2;

View File

@ -837,7 +837,7 @@ meta_kms_impl_device_init_mode_setting (MetaKmsImplDevice *impl_device,
}
static void
meta_kms_impl_device_init (MetaKmsImplDevice *device)
meta_kms_impl_device_init (MetaKmsImplDevice *impl_device)
{
}

View File

@ -61,13 +61,13 @@ struct _MetaKmsImplDeviceClass
{
GObjectClass parent_class;
void (* setup_drm_event_context) (MetaKmsImplDevice *impl,
void (* setup_drm_event_context) (MetaKmsImplDevice *impl_device,
drmEventContext *drm_event_context);
MetaKmsFeedback * (* process_update) (MetaKmsImplDevice *impl,
MetaKmsFeedback * (* process_update) (MetaKmsImplDevice *impl_device,
MetaKmsUpdate *update);
void (* handle_page_flip_callback) (MetaKmsImplDevice *impl,
void (* handle_page_flip_callback) (MetaKmsImplDevice *impl_device,
MetaKmsPageFlipData *page_flip_data);
void (* discard_pending_page_flips) (MetaKmsImplDevice *impl);
void (* discard_pending_page_flips) (MetaKmsImplDevice *impl_device);
};
MetaKmsDevice * meta_kms_impl_device_get_device (MetaKmsImplDevice *impl_device);