Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/qxl
Gerd Hoffmann 21c76bd19e drm/qxl: use qxl_num_crtc directly
qdev->monitors_config->max_allowed is effectively set by the
qxl.num_heads module parameter, stored in the qxl_num_crtc variable.
Lets get rid of the indirection and use the variable qxl_num_crtc
directly.  The kernel doesn't need to dereference pointers each time it
needs the value, and when reading the code you don't have to trace where
and why qdev->monitors_config->max_allowed is set.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-16-kraxel@redhat.com
2019-01-28 14:24:53 +01:00
..
2019-01-28 14:24:53 +01:00
2018-10-30 07:19:59 +01:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2018-04-27 08:58:04 +02:00
2018-10-30 07:19:59 +01:00