aboutsummaryrefslogtreecommitdiff
path: root/fs/minix
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-08-06 23:04:43 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-08-06 23:22:49 +0000
commit94715ba97508dd42919a7525e362efb00dde1271 (patch)
tree9ad5e92149e59eed1b0385a950608608d7df0494 /fs/minix
parent363699722a2a6801d098693fa15bc3b68d6b4f31 (diff)
viafb: add new funcions to select a single mode
This patch introduces 2 new functions for selecting a single mode based on hres, vres and refresh rate and changes some uses to use those. The advantage is that it is less error prone than doing the selection based on refresh rate everywhere and allows replacing the modetable structure. This includes a little change that users may notice: If a refresh rate was given as module parameters but does not exist in the modetable prior to this patch a refresh rate of 60 was assumed and after this patch the closest supported refresh rate to the one provided by the user is used. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions