Files
linux/drivers/gpu/drm
Mikulas Patocka f337a54878 udl-kms: avoid division
commit 91ba11fb7d upstream.

Division is slow, so it shouldn't be done by the pixel generating code.
The driver supports only 2 or 4 bytes per pixel, so we can replace
division with a shift.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:26:38 +02:00
..
2018-08-24 13:09:14 +02:00
2018-05-30 07:52:19 +02:00
2017-08-10 11:26:49 +10:00
2018-05-30 07:52:08 +02:00
2018-09-05 09:26:38 +02:00
2017-03-24 09:36:06 +01:00