Igor Murzov
211fa4fc4e
drm/radeon: finish getting bios earlier
...
Return a number of bytes read in radeon_atrm_get_bios_chunk() and
properly check this value in radeon_atrm_get_bios().
If radeon_atrm_get_bios_chunk() read less bytes then were requested,
it means that it finished reading bios data.
Prior to this patch, condition in radeon_atrm_get_bios() was always
equivalent to "if (ATRM_BIOS_PAGE <= 0)", so it was always false,
thus radeon_atrm_get_bios() was trying to read past the bios data
wasting boot time.
On my lenovo ideapad u455 laptop this patch drops bios reading time
from ~5.5s to ~1.5s.
Signed-off-by: Igor Murzov <e-mail@date.by >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-01-24 17:34:32 +00:00
..
2012-01-13 09:32:20 +10:30
2012-01-18 15:51:48 -08:00
2012-01-08 13:10:57 -08:00
2012-01-17 20:50:53 -05:00
2012-01-13 09:32:20 +10:30
2012-01-16 15:02:30 -08:00
2012-01-17 09:54:08 -05:00
2012-01-18 15:41:27 -08:00
2012-01-13 09:32:20 +10:30
2012-01-14 15:07:24 -08:00
2012-01-18 15:50:17 -08:00
2011-12-28 21:35:06 +08:00
2012-01-06 18:15:25 -08:00
2012-01-11 18:53:33 -08:00
2011-12-21 14:29:42 -08:00
2012-01-10 22:01:27 -08:00
2012-01-17 18:40:24 -08:00
2012-01-13 09:32:20 +10:30
2012-01-13 09:32:20 +10:30
2012-01-12 11:53:55 -05:00
2012-01-18 13:48:43 -07:00
2012-01-24 17:34:32 +00:00
2012-01-13 09:32:20 +10:30
2012-01-09 12:09:47 -08:00
2012-01-16 22:51:48 +01:00
2012-01-17 23:30:41 +00:00
2012-01-14 15:07:24 -08:00
2012-01-18 01:15:54 -05:00
2012-01-18 16:29:42 -08:00
2012-01-14 12:32:16 -08:00
2012-01-10 11:08:21 -08:00
2012-01-14 12:32:16 -08:00
2012-01-14 12:32:16 -08:00
2012-01-12 15:44:47 +10:30
2012-01-13 09:32:20 +10:30
2012-01-15 12:24:45 -08:00
2012-01-18 12:53:54 -08:00
2012-01-13 09:32:20 +10:30
2012-01-10 10:36:08 -08:00
2012-01-14 12:32:16 -08:00
2012-01-17 18:40:24 -08:00
2012-01-17 18:40:24 -08:00
2012-01-17 18:40:24 -08:00
2012-01-17 22:26:41 -08:00
2012-01-07 12:03:30 -08:00
2012-01-14 13:25:55 -08:00
2012-01-06 08:02:58 -08:00
2012-01-11 18:50:26 -08:00
2012-01-14 12:32:16 -08:00
2012-01-14 18:36:33 -08:00
2012-01-14 13:05:21 -08:00
2012-01-03 09:10:09 +01:00
2012-01-13 09:32:20 +10:30
2012-01-06 12:11:20 -08:00
2012-01-13 09:32:20 +10:30
2012-01-13 20:43:32 -08:00
2012-01-13 20:43:32 -08:00
2012-01-13 09:32:20 +10:30
2012-01-18 12:35:17 -08:00
2012-01-11 23:29:20 -08:00
2012-01-17 18:40:24 -08:00
2012-01-15 12:49:56 -08:00
2012-01-17 18:40:24 -08:00
2012-01-11 18:50:26 -08:00
2012-01-17 18:40:24 -08:00
2012-01-09 12:09:47 -08:00
2012-01-13 10:12:23 -08:00
2012-01-17 18:40:24 -08:00
2012-01-12 15:44:47 +10:30
2012-01-13 09:32:20 +10:30
2012-01-18 15:37:49 -08:00
2012-01-02 13:04:55 +01:00
2012-01-11 23:58:47 -05:00