diff options
author | Paulo Zanoni <[email protected]> | 2016-10-07 17:28:58 -0300 |
---|---|---|
committer | Paulo Zanoni <[email protected]> | 2016-10-18 11:05:48 -0200 |
commit | 30d1b5fe8c7206e6e5e5e51e0ff09ef21a77d78e (patch) | |
tree | 7ad113f458b8b96acfb7789859d9e31347866ddf /lib/netdev-notifier-error-inject.c | |
parent | cfd7e3a20251b9ac95651d64556f87f86128a966 (diff) |
drm/i915/gen9: don't call ilk_pipe_pixel_rate() twice on the same function
We used to call skl_pipe_pixel_rate(), which used to be a single
one-line return, but now we're calling ilk_pipe_pixel_rate() which is
not as simple, so it's better to just call it once and store the
computed value for reuse.
Signed-off-by: Paulo Zanoni <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions